Commit Graph

57 Commits

Author SHA1 Message Date
Balachandar Namasivayam a167bf344e Update api version to 700 2020-05-28 12:16:03 -07:00
Balachandar Namasivayam 6d570cd865 Change version from 7.0 to 6.3 2020-04-03 21:38:58 -07:00
Xin Dong 527686ffe0 Added a test in API tests for the new API(getEstimagedRangeSize). 2020-03-24 09:26:56 -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 0ad2d2d16e Add binding test for getApproximateSize API 2019-07-10 14:58:07 -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
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 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 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
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
A.J. Beamon af738e0f45 Fix Python3 directory layer bug where str() was used instead of bytes(). Fix bug in binding tester that caused directory tests to not compare results, which resulted in the directory layer bug going undetected. 2018-03-19 15:47:56 -07:00
A.J. Beamon d589f3772f
Merge pull request #17 from alecgrieser/api-version-to-520
Bump API version to 520
2018-03-12 14:24:57 -07:00
Alec Grieser 1738bd603b add APPEND_IF_FITS to the bindingtester as an additional atomic op 2018-03-02 17:43:39 -08:00
Alec Grieser 285e1a1ccc bump API version to 520 2018-03-02 10:30:41 -08:00
Alec Grieser 0bae9880f1 remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py 2018-02-21 10:25:11 -08:00
Alec Grieser e104c21160 tweaks to fix some places where python format rewrite looked kind of bad 2018-02-07 16:59:59 -08:00
Alec Grieser 57986cfe00 format python files to be roughtly pep8 compliant 2018-01-24 19:06:58 -08:00
Alec Grieser 396434794d some python versionstamp api tweaks 2017-11-06 14:56:41 -08:00
Alec Grieser 5cc4328602 Merge remote-tracking branch 'origin/master' into bindings-versionstamps-in-tuples 2017-10-26 08:58:09 -07:00
Alec Grieser 584b56ecaf bindingtester spec typos ; pack versionstamps more naturally ; fix double/float mixup 2017-10-24 16:08:19 -07:00
Balachandar Namasivayam 8e0bea2795 Update API_VERSION from 500 to 510 2017-10-11 13:49:38 -07:00