Commit Graph

111 Commits

Author SHA1 Message Date
A.J. Beamon d174e05bac Merge pull request #180 from cie/bindings-versionstamps-in-tuples
<rdar://problem/25560444> [Feature] Versionstamped keys and tuple/directory incompatibility
2017-11-06 16:39:17 -08:00
A.J. Beamon fee6734e71 Add braces around multiline if block 2017-11-06 16:38:32 -08:00
Alec Grieser 396434794d some python versionstamp api tweaks 2017-11-06 14:56:41 -08:00
Alec Grieser dafe553dc1 now pass along firstChunk when doing asList to avoid making two calls 2017-11-02 17:15:23 -07:00
Alec Grieser eb62b9d9a9 add overload to whileTrue that takes supplier ; deprecated version that takes a Function 2017-11-01 11:21:23 -07:00
Evan Tschannen 93be673e20 Merge pull request #192 from cie/bindingtester-ro-lock-aware-option
<rdar://problem/34579176> Transaction option for read-only lock aware
2017-10-27 17:19:40 -07:00
Alec Grieser 381928535c removed spurious 'at' ; fixed whitespace 🤮 2017-10-26 09:27:34 -07:00
Alec Grieser 5cc4328602 Merge remote-tracking branch 'origin/master' into bindings-versionstamps-in-tuples 2017-10-26 08:58:09 -07:00
Balachandar Namasivayam cfefab18fb Merge branch 'master' into add-new-atomic-ops 2017-10-25 18:03:34 -07:00
Alec Grieser 8cad278da1 add set_read_lock_aware to atomic ops unit tests in binding tester 2017-10-25 15:14:18 -07:00
Balachandar Namasivayam 9dd588dcce Addressed review comments.
Changed naming for NewMin and NewAnd to MinV2 and AndV2
2017-10-25 14:48:05 -07:00
Alec Grieser 2b293242f6 resolver -> db ; correct versionstamp spelling 2017-10-25 13:38:03 -07:00
Alec Grieser 957243a88e tuple encoding now has fewer copies ; various java 8 vs java 6 inconsistency fixes 2017-10-25 10:53:33 -07:00
Alec Grieser 1855f876db Merge remote-tracking branch 'origin/master' into bindings-versionstamps-in-tuples 2017-10-24 18:08:47 -07:00
Alec Grieser 929fa5699a tuple and versionstamp documentation updates 2017-10-24 17:53:16 -07:00
Alec Grieser deb48641e3 use a constant instead of 12 ; some better comments ; remove prefix_len weirdness 2017-10-24 16:40:58 -07:00
Alec Grieser 584b56ecaf bindingtester spec typos ; pack versionstamps more naturally ; fix double/float mixup 2017-10-24 16:08:19 -07:00
Alec Grieser f0bca54061 mostly javadocs fixes 2017-10-24 16:06:56 -07:00
Alec Grieser a2b7fce4d9 whitespace changes 2017-10-24 15:44:39 -07:00
Alec Grieser e2932b7660 fixed unnecessary differences between src and src-completable versions of TupleUtil 2017-10-24 12:03:28 -07:00
Alec Grieser d7adaf766c whitespace fixes 🤮 2017-10-24 11:58:45 -07:00
Alec Grieser 9baa8c30b5 added hashCode implementation to subspace 2017-10-23 09:12:45 -07:00
Alec Grieser dd6d8f3b0e Merge branch 'master' into add-new-atomic-ops 2017-10-18 16:36:44 -07:00
Alec Grieser 1ebdd574cd fixed some sneaky references to com.apple.cie.foundationdb hiding in javadocs 2017-10-18 14:16:46 -07:00
Alec Grieser c12c928141 Merge branch 'master' into bindings-versionstamps-in-tuples 2017-10-18 14:13:01 -07:00
Alec Grieser d40eb1ef9a changed java package from com.apple.cie.foundationdb to com.apple.foundationdb 2017-10-16 08:31:44 -07:00
Alec Grieser 18432f235f moved java files from com/apple/apple/foundationdbdb to com/apple/foundationdb in preparation for package rename 2017-10-16 08:11:41 -07:00
Alec Grieser 09e54aa23b ~~whitespace fixes~~ 2017-10-11 14:54:49 -07:00
Alec Grieser 2722e6d99e added a helper method to fdb.Subspace and updated some docs 2017-10-11 14:48:09 -07:00
Balachandar Namasivayam 8e0bea2795 Update API_VERSION from 500 to 510 2017-10-11 13:49:38 -07:00
Alec Grieser 5e44aa06e4 python tester now sometimes uses has_incomplete_versionstamp 2017-10-11 11:00:16 -07:00
Alec Grieser 9fd934e002 added packWithVersionstamp to subspace ; some testing/javadocs tweaks 2017-10-11 10:53:51 -07:00
Alec Grieser f95553aca2 updated javadocs 2017-10-10 16:56:32 -07:00
Balachandar Namasivayam eeebf10030 Modified existing behavior of MIN and AND atomic ops. The new behavior results in a 'SET' if the atomic op is performed on a non -existing key.
Added new atomic ops ByteMin and ByteMax that does lexicographic comparison of byte strings.
2017-10-10 13:02:22 -07:00
Alec Grieser fc97fa3c8d added documentation for versionstamped tuples to python docs 2017-10-10 09:12:42 -07:00
Alec Grieser 2868908c14 make use of Tuple.pack(prefix) in java tests 2017-10-09 15:28:52 -07:00
Alec Grieser 152e10eba1 added hasIncompleteVersionstamp utility method to tuples 2017-10-09 13:52:00 -07:00
Alec Grieser a9cc7af79e added versionstamps to java tuples 2017-10-09 11:07:34 -07:00
A.J. Beamon d886b95628 Merge pull request #131 from cie/33300740-with-shutdown-hooks
<rdar://problem/33300740> Java: support callbacks from external multi-version client threads
2017-10-04 09:17:25 -07:00
Evan Tschannen ef41b07bb3 renamed past_version to transaction_too_old
implemented read_lock_aware option
2017-09-28 16:35:08 -07:00
A.J. Beamon d30c730f75 Add the ability to access name and description in Error. Update error descriptions. 2017-09-28 12:35:03 -07:00
Alec Grieser bd6dabacdb added versionstamp type to python tuple layer and updated bindingtester to test it 2017-09-28 12:03:40 -07:00
A.J. Beamon 91281ec754 Don't use SetByteArrayRegion for get range results. 2017-09-27 13:41:06 -07:00
Alec Grieser 80f559d148 changed name from thread_completion_hook to network_thread_completion_hook 2017-09-27 11:30:39 -07:00
Alec Grieser 18edc56559 removed unused local variable 2017-09-27 09:32:31 -07:00
Alec Grieser d7e1b267be changed name from shutdown hook to thread completion hook ; added hook parameter 2017-09-26 17:00:04 -07:00
Alec Grieser a5f1c3b15b Merge remote-tracking branch 'origin/master' into 33300740-with-shutdown-hooks 2017-09-26 11:28:40 -07:00
Ben Collins 21688afeb3 Merge pull request #155 from cie/feature-jni-no-memcpy
Fix possible leaks, move to SetByteArrayRegion()
2017-09-20 11:01:29 -07:00
A.J. Beamon da9b56e1ef More use of SetByteArrayRegion and various memory management fixes. 2017-09-20 10:31:25 -07:00
Alvin Moore b1dd2ac6fe Merge branch 'release-5.0' 2017-09-12 13:34:28 -07:00