A.J. Beamon
bc5c65e5ab
Merge pull request #1756 from jzhou77/db-option
...
Add transaction getApproximateSize() API
2019-07-19 08:33:24 -07:00
A.J. Beamon
93be69b6a3
Increase the API version to 620.
2019-07-18 10:56:05 -07:00
Jingyu Zhou
990c205f70
Push a string to stack for getApproximateSize in binding testers
...
Because different bindings may issue different limit for get_range calls, it is
impossible to return the same size value for getApproximateSize API. So we just
push a string to make sure binding test results are the same. Use another unit
test to make sure the sizes got back are monotonically increasing.
2019-07-12 14:15:20 -07:00
Jingyu Zhou
5d1437c8e0
Push int directly to stack for getApproximateSize
2019-07-10 15:00:50 -07:00
Jingyu Zhou
9d12843a26
Push size as tuple to stack
2019-07-10 14:58:35 -07:00
Jingyu Zhou
14f7082428
Update binding API test documentation for GET_APPROXIMATE_SIZE
2019-07-10 14:58:07 -07:00
Jingyu Zhou
0ad2d2d16e
Add binding test for getApproximateSize API
2019-07-10 14:58:07 -07:00
A.J. Beamon
2a56e011ea
Merge branch 'release-6.1' into merge-release-6.1-into-master
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
# fdbserver/DataDistribution.actor.cpp
2019-07-05 13:52:29 -07:00
A.J. Beamon
88e765b9e6
Fix: the binding tester was taking the min() of a list of tuples, but that could fail if the tuple contained incomparable types. Instead, use fdb.tuple.compare() to do the comparison.
2019-06-17 11:43:58 -07:00
Trevor Clinkenbeard
9fea60675f
Fix comments to use transaction_too_old instead of past_version
2019-04-24 18:50:57 -07:00
Alec Grieser
1ac8ecf55e
Merge pull request #1187 from ryanworl/bindings/go-tuple-layer-versionstamps
...
Add Versionstamp support to the Go Tuple layer
2019-03-11 12:36:47 -07:00
A.J. Beamon
8669aea22b
Python: creating a SingleFloat with an integer didn't work. Updated the tester to exercise this path.
2019-03-01 09:25:53 -08:00
Ryan Worl
7ac098dc0d
Add Versionstamp support to the Go Tuple layer
2019-02-25 18:39:14 -05:00
A.J. Beamon
975711c389
Merge branch 'release-6.0' of github.com:apple/foundationdb
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
2018-11-27 09:50:39 -08:00
Evan Tschannen
e45952bc53
Merge branch 'release-6.0'
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
# fdbclient/BackupContainer.actor.cpp
# fdbclient/BlobStore.actor.cpp
# fdbclient/HTTP.actor.cpp
# tests/BlobStore.txt
# versions.target
2018-11-13 16:06:39 -08:00
Alec Grieser
7e4f84c60e
Merge remote-tracking branch 'upstream/release-6.0' into feature-bigint-support-go-ruby-aj
2018-11-13 11:28:10 -08:00
Evan Tschannen
4e54690005
Merge branch 'release-6.0'
...
# Conflicts:
# fdbserver/DataDistribution.actor.cpp
# fdbserver/MoveKeys.actor.cpp
2018-11-12 20:26:58 -08:00
Evan Tschannen
4b5d0b4e2c
Merge branch 'release-6.0'
...
# Conflicts:
# documentation/sphinx/source/release-notes.rst
# fdbclient/AsyncFileBlobStore.actor.cpp
# fdbclient/AsyncFileBlobStore.actor.h
# fdbclient/BlobStore.actor.cpp
# fdbclient/BlobStore.h
# fdbclient/HTTP.actor.cpp
# fdbclient/ManagementAPI.actor.cpp
# fdbclient/NativeAPI.actor.cpp
# fdbrpc/LoadBalance.actor.h
# fdbrpc/batcher.actor.h
# fdbrpc/fdbrpc.vcxproj
# fdbrpc/sim2.actor.cpp
# fdbserver/DataDistribution.actor.cpp
# fdbserver/DataDistributionTracker.actor.cpp
# fdbserver/SimulatedCluster.actor.cpp
# fdbserver/TLogServer.actor.cpp
# fdbserver/masterserver.actor.cpp
2018-11-10 13:04:24 -08:00
A.J. Beamon
d38393a82f
Key alignment in the binding tester results checking didn't properly determine the minimum available key. Add some comments to results checking code.
2018-11-01 12:38:00 -07:00
A.J. Beamon
d02c37965d
Merge branch 'release-6.0' into feature-bigint-support-go-ruby
2018-11-01 11:33:48 -07:00
A.J. Beamon
93cfec51c7
Add a test that's intended to test tuple encoding. Currently, it only checks the encoding of integers at and near the boundaries of every extra bit (i.e. 2^1, 2^2, 2^3, ...). Fixed some bugs in the binding tester results checking that made it hard to interpret results. Commit more instructions in a batch.
2018-10-31 14:18:28 -07:00
A.J. Beamon
2be1cabc72
Support for big integers in go and ruby tuple layers
2018-10-24 15:50:07 -07:00
A.J. Beamon
983a5bd390
Bump API version to 610
2018-09-26 10:58:07 -07:00
A.J. Beamon
adfaa618e6
Filter version_too_old errors
2018-08-24 10:05:24 -07:00
A.J. Beamon
6af8c0d907
Prepopulated directories should have their partition state set. Filter commit_unknow_result errors if encountered in the directory test.
2018-08-13 13:35:48 -07:00
Alec Grieser
46b8612566
bump API version from 520 to 600
2018-07-09 11:00:57 -07:00
A.J. Beamon
d8ca7a766c
Change tree node state to have references to parent nodes and update merge logic accordinly.
2018-06-27 14:12:51 -07:00
A.J. Beamon
a7158f96aa
Address some review comments
2018-06-26 15:06:15 -07:00
A.J. Beamon
48bf339843
Add indirection in the directory state tree so that merged nodes would continue sharing state through future merges.
2018-05-23 14:59:18 -07:00
A.J. Beamon
f52da485a9
Don't merge directory state tree entries that have the same ID. When merged, two entries should always take the smaller ID.
2018-05-23 12:20:05 -07:00
A.J. Beamon
1a39cd4a81
The directory state tree currently relies on some static members that need to be reset when rerunning the test.
2018-05-23 12:19:21 -07:00
A.J. Beamon
addb822b91
Fix call to random.random()
2018-05-23 12:18:34 -07:00
A.J. Beamon
fc69c34138
Extract directory state tree, add some tests, and fix up a couple things
2018-05-22 11:53:19 -07:00
A.J. Beamon
f96b95a878
Ensure random prefixes for partitions and directory layer subspaces when doing comparison tests
2018-05-22 11:52:38 -07:00
A.J. Beamon
997d3eae80
Rework how the directory hierarchy state is maintained, add tracking for partitions and deleted directories, and don't allow using directories that are deleted partitions.
2018-05-18 16:24:59 -07:00
A.J. Beamon
ce3623978e
Merging children of DirListEntries now unifies the entries rather than just copying has_know_prefix
2018-05-18 09:41:54 -07:00
A.J. Beamon
9e9a81c96d
DIRECTORY_MOVE and DIRECTORY_OPEN use the existing DirListEntries, if present
2018-05-18 09:39:27 -07:00
A.J. Beamon
7159dd5ce2
DIRECTORY_MOVE_TO reuses the same DirListEntry rather than creating a new one
2018-05-18 09:38:03 -07:00
A.J. Beamon
82821d17af
Have the two copies of the default directory layer share the same DirListEntry.
2018-05-18 09:36:24 -07:00
A.J. Beamon
b94fa1ddb0
Add missing COMMIT instruction after logging directories.
2018-05-18 09:34:46 -07:00
A.J. Beamon
fd4312454b
Some changes to debugging print statements
2018-05-18 09:33:28 -07:00
A.J. Beamon
33ba98c82c
Fix indent
2018-05-09 10:12:37 -07:00
A.J. Beamon
330ac4875c
Add flag to disable directory snapshot ops in the binding tester and use it in the flow bindings.
2018-05-09 10:12:37 -07:00
Alec Grieser
47c9e4f923
update bindings and bindingtester that uses versionstamps to use new protocol
...
issue #148
2018-05-08 08:57:09 -07:00
Alec Grieser
6ee14bbb93
expose second versionstamp value type through vexillographer and add support in bindings and bindingtester
2018-05-08 08:57:09 -07:00
Alec Grieser
a1faaafca3
Merge remote-tracking branch 'upstream/release-5.1' into merge-release-5.1
2018-04-27 16:38:18 -07:00
Amanda Aizuss
256d7d030d
Convert bindings spec files to markdown
...
* The initial plaintext file converts nicely - this just converts operations to small headers and uses < and > to make sure text in <> shows up
* Use inline code in a few places where it makes sense
2018-04-23 10:05:34 -07:00
Evan Tschannen
c1ba16b3c8
Merge branch 'release-5.1' into release-5.2
...
# Conflicts:
# bindings/java/src/test/com/apple/foundationdb/test/AbstractTester.java
# bindings/java/src/test/com/apple/foundationdb/test/VersionstampSmokeTest.java
# bindings/nodejs/lib/fdb.js
# bindings/nodejs/src/Version.h
# bindings/nodejs/tests/tuple_test.js
2018-04-10 16:50:47 -07:00
Alec Grieser
ff956c3fde
removed references to nodejs bindings
...
issue: Node.js Bindings #129
2018-04-06 17:17:45 -07:00
A.J. Beamon
e2d3afb621
Merge branch 'release-5.1' into merge-release-5.1-into-release-5.2
...
# Conflicts:
# Makefile
# documentation/sphinx/Makefile
# documentation/sphinx/source/administration.rst
# documentation/sphinx/source/anti-features.rst
# documentation/sphinx/source/api-general.rst
# documentation/sphinx/source/building-cluster.rst
# documentation/sphinx/source/class-scheduling-go.rst
# documentation/sphinx/source/class-scheduling-java.rst
# documentation/sphinx/source/class-scheduling-ruby.rst
# documentation/sphinx/source/class-scheduling.rst
# documentation/sphinx/source/command-line-interface.rst
# documentation/sphinx/source/configuration.rst
# documentation/sphinx/source/downloads.rst
# documentation/sphinx/source/fault-tolerance.rst
# documentation/sphinx/source/features.rst
# documentation/sphinx/source/getting-started-linux.rst
# documentation/sphinx/source/getting-started-mac.rst
# documentation/sphinx/source/guide-common.rst.inc
# documentation/sphinx/source/hierarchical-documents-java.rst
# documentation/sphinx/source/index.rst
# documentation/sphinx/source/known-limitations.rst
# documentation/sphinx/source/multimaps-java.rst
# documentation/sphinx/source/performance.rst
# documentation/sphinx/source/segmented-range-reads-java.rst
# documentation/sphinx/source/simple-indexes-java.rst
# documentation/sphinx/source/spatial-indexing-java.rst
# documentation/sphinx/source/subspace-indirection-java.rst
# documentation/sphinx/source/tables-java.rst
# documentation/sphinx/source/vector-java.rst
# versions.target
2018-03-21 09:28:10 -07:00