couchdb-erlfdb.git
3 years agoImplement driver for fdb bindingstester
Paul J. Davis [Thu, 7 Feb 2019 23:14:14 +0000 (17:14 -0600)] 
Implement driver for fdb bindingstester

3 years agoSupport packing versionstamps in the tuple layer
Paul J. Davis [Sat, 9 Feb 2019 22:46:10 +0000 (16:46 -0600)] 
Support packing versionstamps in the tuple layer

3 years agoFix bugs found using FoundationDBs bindings tester
Paul J. Davis [Sat, 9 Feb 2019 22:43:32 +0000 (16:43 -0600)] 
Fix bugs found using FoundationDBs bindings tester

There were a handful of subtle bugs related to how various corner cases
were handled. The bindings tester is fairly impressivly thorough.

3 years agoFix iterating over key/value arrays
Paul J. Davis [Sat, 9 Feb 2019 22:31:47 +0000 (16:31 -0600)] 
Fix iterating over key/value arrays

Classic off by one error starting one element past the end of the array.

3 years agoAdd missing void future type
Paul J. Davis [Thu, 7 Feb 2019 23:48:39 +0000 (17:48 -0600)] 
Add missing void future type

I initially misread the docs and thought some futures just returned
empty values instead of no value whatsoever. This accounts for that
new reality.

3 years agoTidy up API implementation
Paul J. Davis [Thu, 7 Feb 2019 23:13:38 +0000 (17:13 -0600)] 
Tidy up API implementation

3 years agoAdd string and keyvalue future callbacks
Paul J. Davis [Thu, 7 Feb 2019 23:13:12 +0000 (17:13 -0600)] 
Add string and keyvalue future callbacks

3 years agoFix bug when creating futures
Paul J. Davis [Thu, 7 Feb 2019 21:48:46 +0000 (15:48 -0600)] 
Fix bug when creating futures

We accidentally set the wrong future variable for the callback data
which caused a segfault when attempting to invoke the callback.

3 years agoImplement Erlang API
Paul J. Davis [Wed, 6 Feb 2019 14:21:54 +0000 (08:21 -0600)] 
Implement Erlang API

This is the first draft API over the NIF bindings to FoundationDB. Once
this gets some more use we may want to make a couple tweaks for things
that are are discovered to be awkward or repetitive.

3 years agoInitial tuple comparison implementation
Paul J. Davis [Fri, 1 Feb 2019 17:07:11 +0000 (11:07 -0600)] 
Initial tuple comparison implementation

3 years agoImplement tuple layer encoding
Paul J. Davis [Thu, 31 Jan 2019 17:29:50 +0000 (11:29 -0600)] 
Implement tuple layer encoding

3 years agoImplement set_option APIs
Paul J. Davis [Wed, 30 Jan 2019 14:10:41 +0000 (08:10 -0600)] 
Implement set_option APIs

3 years agoImplement network_set_option
Paul J. Davis [Wed, 30 Jan 2019 13:43:32 +0000 (07:43 -0600)] 
Implement network_set_option

3 years agoAdd IS_ATOM helper
Paul J. Davis [Wed, 30 Jan 2019 13:31:55 +0000 (07:31 -0600)] 
Add IS_ATOM helper

3 years agoList option names for specs
Paul J. Davis [Wed, 30 Jan 2019 13:26:17 +0000 (07:26 -0600)] 
List option names for specs

3 years agoImplemented the rest of the API
Paul J. Davis [Wed, 30 Jan 2019 12:57:33 +0000 (06:57 -0600)] 
Implemented the rest of the API

3 years agoImplmeented transaction commit APIs
Paul J. Davis [Tue, 29 Jan 2019 22:48:53 +0000 (16:48 -0600)] 
Implmeented transaction commit APIs

3 years agoImplemented transaction side effect APIs
Paul J. Davis [Tue, 29 Jan 2019 22:28:28 +0000 (16:28 -0600)] 
Implemented transaction side effect APIs

3 years agoMore transaction APIs implemented
Paul J. Davis [Tue, 29 Jan 2019 21:15:45 +0000 (15:15 -0600)] 
More transaction APIs implemented

3 years agoInitial work on transaction APIs
Paul J. Davis [Tue, 29 Jan 2019 18:36:14 +0000 (12:36 -0600)] 
Initial work on transaction APIs

3 years agoImplement cluster and database creation
Paul J. Davis [Tue, 29 Jan 2019 17:55:37 +0000 (11:55 -0600)] 
Implement cluster and database creation

This includes initial work on being able to resolve futures.

3 years agoAdd create_cluster callback
Paul J. Davis [Tue, 29 Jan 2019 16:20:52 +0000 (10:20 -0600)] 
Add create_cluster callback

Completely untested for now. This is the initial outline for how
features will work. Next up I'll add the shape for erlfdb_future_get to
return the various value types from different futures.

3 years agoAdd base future functions
Paul J. Davis [Tue, 29 Jan 2019 15:30:06 +0000 (09:30 -0600)] 
Add base future functions

3 years agoAdd network thread creation and destruction
Paul J. Davis [Tue, 29 Jan 2019 15:07:49 +0000 (09:07 -0600)] 
Add network thread creation and destruction

3 years agoAdd network configuration outline
Paul J. Davis [Tue, 29 Jan 2019 13:46:03 +0000 (07:46 -0600)] 
Add network configuration outline

3 years agoInitial Import
Paul J. Davis [Tue, 29 Jan 2019 12:37:30 +0000 (06:37 -0600)] 
Initial Import