Xin Dong
d689d34634
Enable range split bindings tests
2020-07-02 14:05:12 -07:00
Xin Dong
00e9f8b9bf
Added bindings tests; Protected new SSI endpoints under new 7.0 ProtocolVersion
2020-07-02 14:05:12 -07:00
Balachandar Namasivayam
a167bf344e
Update api version to 700
2020-05-28 12:16:03 -07:00
Dave Cottlehuber
e227b4aba3
tweak bashisms
2020-04-30 18:11:23 +00:00
Balachandar Namasivayam
6d570cd865
Change version from 7.0 to 6.3
2020-04-03 21:38:58 -07:00
Xin Dong
69b572cc86
Added specs for the new tests.
2020-03-24 09:59:40 -07:00
Xin Dong
527686ffe0
Added a test in API tests for the new API(getEstimagedRangeSize).
2020-03-24 09:26:56 -07:00
Xin Dong
f293666028
Added back unnecessary changes.
2020-03-20 10:12:37 -07:00
Xin Dong
851ee20c1a
Disable Ruby tests for the moment.
2020-03-20 10:05:14 -07:00
A.J. Beamon
72f92626e4
Update API version to 700
2020-01-30 09:26:27 -08:00
A.J. Beamon
cc8194a2f4
Python 3 fix; disallow creating partitions using the high-contention allocator in comparison tests due to non-determinism.
2020-01-02 11:45:21 -08:00
A.J. Beamon
f97129e9ac
Filter future_version errors in the binding tester
2019-12-20 11:22:23 -08:00
A.J. Beamon
aa0d99c15e
Update binding tester to use python3
2019-09-11 10:36:02 -07:00
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