Commit Graph

22010 Commits

Author SHA1 Message Date
Xiaoxi Wang 75a52afb31
Merge pull request #7757 from sfc-gh-xwang/refactor/main/enableState
[DD Testability] Encapsulate shared states in DD into DDSharedContext
2022-08-17 13:52:27 -07:00
Josh Slocum 21298d418f
Improved purge tests (#7911)
* doing force purge at the end of the test if it didn't happen during

* better checking for granule metadata left over after purge

* retrying for in-flight granules that weren't known before purge

* letting test pass for a hard to fix purge case

* changed post-test force purge to only be after final availability check
2022-08-17 13:40:52 -07:00
Jon Fu e1af8af64f
Merge pull request #7910 from sfc-gh-jfu/jfu-buildcop-uninit-var
Initialize clientcount in opendatabaserequest
2022-08-17 14:22:15 -04:00
Yao Xiao 9c20a07d35
Add delete_obsolete_files_period_micros to RocksDB options. (#7908) 2022-08-17 11:21:21 -07:00
Jon Fu 9e5b498337 initialize clientcount in opendatabaserequest 2022-08-17 10:14:33 -07:00
Steve Atherton 9a6387af70
Merge pull request #7582 from sfc-gh-yiwu/encrypt_mutation
Make encrypted mutation serialize as normal mutations
2022-08-17 01:30:51 -07:00
Xiaoxi Wang 91cff2ed47 remote .actor name 2022-08-17 00:03:05 -07:00
Xiaoxi Wang f83493355e format code 2022-08-16 23:37:55 -07:00
Xiaoxi Wang 0a15f18fa4 provide default destructor; fix other compilation problem 2022-08-16 18:28:36 -07:00
Xiaoxi Wang 8d2a326da6 add comment for DDSharedContext 2022-08-16 15:53:41 -07:00
Dennis Zhou 750c5a9ca0
Merge pull request #7835 from sfc-gh-dzhou/blobapi
blob: java bindings for various blob management functions
2022-08-16 15:11:22 -07:00
Xiaoxi Wang 8e6e4a7d1e mark usableRegions() const 2022-08-16 14:36:10 -07:00
Xiaoxi Wang e4e6cfc59f rename file 2022-08-16 14:35:19 -07:00
Xiaoxi Wang e2e5abbc9d split DD related headers 2022-08-16 14:32:55 -07:00
Mohamed Oulmahdi f85db068b5
Merge pull request #7901 from Doxense/7823-fix-windows-build
7823-Fix Windows build
2022-08-16 23:09:07 +02:00
Josh Slocum d6e788affc
More force purge fixes (#7902)
* Made force purge more robust to split+merge races

* fix flush/force purge change feed leak

* Better fix for assign while force purge races

* more merge/force purge races

* cleanup
2022-08-16 15:49:59 -05:00
Dennis Zhou fb3ce21d19 blob/java: verifyBlobRange() java bindings 2022-08-16 13:29:23 -07:00
Dennis Zhou 3d400cff64 blob: verifyBlobRange() c api 2022-08-16 13:29:23 -07:00
Dennis Zhou 045076339d bindings/java: implement getBlobGranuleRanges() bindings 2022-08-16 13:29:23 -07:00
Dennis Zhou 1c2109dcbd blob: add rangeLimit to getBlobGranuleRanges() 2022-08-16 13:29:23 -07:00
Dennis Zhou 03d5942859 blob/java: listBlobbifiedRanges java bindings 2022-08-16 13:29:23 -07:00
Dennis Zhou e4f433a480 bindings/java: add KeyRange bindings 2022-08-16 13:29:23 -07:00
Dennis Zhou d2fd29dc52 blob/java: add (un)blobbifyRange api 2022-08-16 13:29:23 -07:00
Dennis Zhou 2d6b2e490c blob/java: make purgeBlobGranules signatures match 2022-08-16 13:29:23 -07:00
Dennis Zhou ba148ba6f1 blob/java: add default executor functions for purgeBlobGranules 2022-08-16 13:29:23 -07:00
Dennis Zhou 96f3dd67b0 blob: add listBlobbifiedRanges() api 2022-08-16 13:29:20 -07:00
Xiaoxi Wang 25f1d3f4d8 rename Interface class; move IDDTeamCollection to DDTeamCollection file 2022-08-16 12:15:21 -07:00
Mohamed Oulmahdi b13b5bb543 Force CI restart 2022-08-16 21:09:09 +02:00
Xiaoxi Wang c3b51160f1 Merge branch 'main' of https://github.com/apple/foundationdb into refactor/main/ddEnabledState 2022-08-16 11:51:34 -07:00
Mohamed Oulmahdi c8741385b2 Fix Windows build broken by #7823 2022-08-16 15:39:24 +02:00
Dennis Zhou cbe9fba5e9 blob: (un)blobbifyRange() c api 2022-08-15 16:25:36 -07:00
Dennis Zhou de732c2603 bindings: add FutureBool future type 2022-08-15 16:25:36 -07:00
Dennis Zhou 5085c21d0d blob: check if blob range exists and fail accordingly 2022-08-15 16:25:36 -07:00
Dennis Zhou 736ef4f2c9 blob: move blobrange command implementation to native api 2022-08-15 16:25:36 -07:00
Dennis Zhou 8c33aa7b1d blob: create named values for blobRangeActive/blobRangeInactive
blobRangeActive = LiteralStringRef("1")
blobRangeInactive = LiteralStringRef("")
2022-08-15 16:25:36 -07:00
Balachandar Namasivayam b758c9aaf8
Merge pull request #7896 from bnamasivayam/fix-transaction-analyzer-error-commit
Fix ErrorCommitInfo event parser
2022-08-15 15:41:56 -07:00
Xiaoge Su 751cf6a721 fixup! typo 2022-08-15 15:25:20 -07:00
Xiaoge Su c4d1231914 Remove ItemWithExamples, replace by Samples
This is a fully cleanup of ItemWithExamples with a new Samples class.
2022-08-15 15:25:20 -07:00
Xiaoge Su 1dfa23ea1b fixup! clang-format 2022-08-15 15:25:20 -07:00
Xiaoge Su 68dc99ea0f Refactor ClientStatusStats and ClientStats
MonitorLeader.actor.cpp:ClientStatusStats and
Status.actor.cpp:ClientStats shares the same structure, thus refactored.
2022-08-15 15:25:20 -07:00
Josh Slocum 2448d9e6dc
Merge pull request #7883 from sfc-gh-satherton/remove-fkreenablelb-spam
Remove extremely spammy trace event in FetchKeys
2022-08-15 16:42:19 -05:00
Xiaoxi Wang a248ce965c
Merge pull request #7894 from sfc-gh-xwang/refactor/main/pointers
Change trackerCancelled and shards in DDTracker to pointer
2022-08-15 14:06:39 -07:00
Bala Namasivayam 03382c6267 Fix ErrorCommitInfo event parser 2022-08-15 13:22:17 -07:00
Xiaoxi Wang 411e0e4bff
Merge pull request #7893 from sfc-gh-xwang/refactor/main/pollMoveKeysLock
Move pollMoveKeysLock method to DDTxnProcessor
2022-08-15 13:15:18 -07:00
Markus Pilman 072c10ed44
Merge pull request #7823 from sfc-gh-anoyes/anoyes/improve-determinism
Improve determinism (based on JOSHUA_SEED)
2022-08-15 14:09:49 -06:00
Xiaoxi Wang bbae301444 change trackerCancelled and shards in DDTracker to pointer 2022-08-15 13:03:47 -07:00
Markus Pilman eb16947860
Merge pull request #7844 from jzhou77/grv-error
Buggify GRV proxy to return errors and fix bugs found
2022-08-15 13:59:21 -06:00
Markus Pilman 18aa638951
Merge pull request #7877 from sfc-gh-mdvorsky/mdvorsky/fix_net2_unittest
Fix Net2 unittest flakiness
2022-08-15 13:58:40 -06:00
Xiaoxi Wang d26e62ea68 pollMoveKeysLock method to DDTxnProcessor 2022-08-15 12:09:16 -07:00
Steve Atherton f2f6148a47 Merge commit '03435b5133f6bcb7855bb8111012d0e752a60f11' into remove-fkreenablelb-spam 2022-08-15 11:55:02 -07:00