Commit Graph

550 Commits

Author SHA1 Message Date
Chaoguang Lin d2756b97e3 Add new lines in the two added files 2021-08-25 12:08:27 -07:00
Chaoguang Lin 09ccba67cf Refactor suspend and expensive_data_check commands 2021-08-25 12:05:51 -07:00
Chaoguang Lin ce9bf5c5ce Create a new function to get all worker interfaces 2021-08-25 11:54:08 -07:00
Chaoguang Lin 41f09e9c2e Refactor kill command 2021-08-25 10:47:52 -07:00
Chaoguang Lin 0806309230
Merge pull request #5458 from sfc-gh-clin/refactor-transaction-related-commands
Refactor transaction related commands
2021-08-24 16:42:03 -07:00
Chaoguang Lin 8de3417f24 Fix comment, add a new function for reading special keys' error message 2021-08-24 14:18:43 -07:00
Chaoguang Lin 868fa93d3d Merge branch 'master' of github.com:apple/foundationdb into refactor-cache_range-command 2021-08-24 12:58:23 -07:00
Chaoguang Lin 5f924c8952 Refactor transaction related commands like begin, commit, etc. 2021-08-24 11:53:39 -07:00
Chaoguang Lin a29e380516 Print out setclass special keys' related error if present 2021-08-24 11:51:12 -07:00
Chaoguang Lin e0a01504fd Solve comments, fix the help message 2021-08-24 09:50:31 -07:00
Chaoguang Lin 079719346f Add comments; Add newline in the end of the file 2021-08-20 13:45:16 -07:00
Chaoguang Lin 8ed041132f Rewrite cache_range related functions to template code; Remove duplicate code; fix the existing bug in cache_range; 2021-08-20 13:42:50 -07:00
Chaoguang Lin 8c19969048 Refactor the cache_range command 2021-08-20 10:57:13 -07:00
Chaoguang Lin 3e34769c6d Merge branch 'master' of github.com:apple/foundationdb into ipc-bench 2021-08-19 21:40:27 +00:00
Chaoguang Lin 7258c085ac
Merge pull request #5395 from sfc-gh-clin/add-external-client-fdbcli-test
Add fdbcli external client tests
2021-08-19 14:30:22 -07:00
Chaoguang Lin b2c063dd93 Change g_network->runNetwork to API->runNetwork 2021-08-18 18:09:02 -07:00
Evan Tschannen a278d2977a renamed range feeds to change feeds, data distribution support almost complete 2021-08-13 14:27:15 -07:00
Josh Slocum 1a4e70d22f Merge branch 'feature-range-feed' into blob_full 2021-08-12 10:22:28 -05:00
Chaoguang Lin be796a62a0 Update comments 2021-08-11 18:39:47 -07:00
Chaoguang Lin bf0d0598dc Refactor all ThrottleAPI functions using template and remove duplicate copies 2021-08-11 23:59:25 +00:00
Evan Tschannen 94239098a5 added additional rangefeed commands to fdbcli 2021-08-10 23:59:05 -07:00
Evan Tschannen 7891477a7c added support for streaming range feeds 2021-08-10 21:28:25 -07:00
Chaoguang Lin 618c72f7e2 Draft to use template to rewrite ThrottleApi 2021-08-11 01:07:36 +00:00
Josh Slocum 921a2cfca1 Merge branch 'feature-range-feed' into blob_full 2021-08-10 11:25:48 -05:00
Josh Slocum 247602753d Blob worker handles multiple ranges now 2021-08-10 11:19:43 -05:00
Evan Tschannen ed28aecde0 Merge branch 'master' into feature-range-feed 2021-08-09 20:40:55 -07:00
Evan Tschannen 42ae870c84 added support for querying specific range feed versions 2021-08-09 20:39:28 -07:00
Evan Tschannen 52fcf3f565 fixed a few bugs 2021-08-09 17:16:53 -07:00
Chaoguang Lin 768aaf76c4 Update comments in DataDistributionCommand.actor.cpp 2021-08-06 18:30:14 +00:00
Chaoguang Lin 815ad03122 Refactor datadistribution command 2021-08-06 18:27:45 +00:00
Chaoguang Lin 84e1c693ef Fix naming typo 2021-08-06 18:27:36 +00:00
Josh Slocum a931f70cfb Added fdbcli for blobrange 2021-08-06 11:01:37 -05:00
Chaoguang Lin bbc2ffe527 Remove unnecessay header, add new line at the end of the file 2021-08-05 19:29:01 +00:00
Chaoguang Lin 7f7620d125 Refactor the setclass command 2021-08-05 19:01:17 +00:00
Evan Tschannen 0989c28a6b made range feeds durable on the storage server 2021-07-30 15:23:42 -07:00
Chaoguang Lin 9eec9376bd
Merge pull request #5285 from sfc-gh-clin/refactor-throttle-command
Refactor throttle command
2021-07-28 13:43:15 -07:00
Evan Tschannen 406562b282 Merge branch 'master' of https://github.com/apple/foundationdb into feature-range-feed 2021-07-27 17:04:58 -07:00
Lukas Joswiak b423432ee1 Make wait interruptable 2021-07-27 15:45:35 -07:00
Lukas Joswiak 08bc787356 Add timeout 2021-07-27 15:22:01 -07:00
Lukas Joswiak acfb9adbd2 Fix ctest timeouts 2021-07-27 15:10:49 -07:00
Lukas Joswiak 52940d38d9 Fix issue where GlobalConfig wasn't initialized in time when running fdbcli --exec 2021-07-27 14:12:01 -07:00
Chaoguang Lin 28128d79b1 Refactor throttle command 2021-07-27 17:58:11 +00:00
Steve Atherton f596a81073 Rename ::TRUE and ::FALSE in BooleanParams to ::True and ::False so as to not conflict with the TRUE and FALSE macros provided by the Windows and MacOS SDKs. 2021-07-17 00:11:40 -07:00
Evan Tschannen 15fe00927a Merge branch 'master' of https://github.com/apple/foundationdb into feature-range-feed
# Conflicts:
#	fdbcli/fdbcli.actor.cpp
#	fdbclient/NativeAPI.actor.cpp
#	fdbclient/StorageServerInterface.h
#	fdbclient/SystemData.cpp
#	fdbclient/SystemData.h
#	fdbserver/storageserver.actor.cpp
#	flow/ProtocolVersion.h
2021-07-12 19:10:14 -07:00
sfc-gh-tclinkenbeard 8cc40e3a2b Expand use of BOOLEAN_PARAM 2021-07-02 21:41:50 -07:00
sfc-gh-tclinkenbeard 79ff07a071 Added *BOOLEAN_PARAM macros to enforce documentation of boolean parameters 2021-07-02 15:04:42 -07:00
neethuhaneesha 63e530fc44
Merge pull request #4832 from neethuhaneesha/master
exclude servers based on locality match
2021-06-28 12:13:09 -07:00
Neethu Haneesha Bingi decfb610ff Minor review comments. 2021-06-25 15:04:49 -07:00
Chaoguang Lin c559621ac6
Merge pull request #4996 from sfc-gh-clin/add-fdbcli-tests
Add test coverage for more fdbcli commands
2021-06-25 12:01:45 -07:00
Chaoguang Lin f62b118915 remove duplicate unset text in help text 2021-06-25 18:21:30 +00:00
Neethu Haneesha Bingi 66f2518405 exclude to work with any locality data match. 2021-06-23 18:03:27 -07:00
Neethu Haneesha Bingi cbe714acd0 Status json schema update, includelocalities back for consistency check, review comments. 2021-06-23 18:03:27 -07:00
Neethu Haneesha Bingi 4ad5926a25 Snake naming of keys and added comments to all new functions. 2021-06-23 18:03:27 -07:00
Neethu Haneesha Bingi 73752f441b exclude locality:clang-format, ranged loops, documentation, tracking addStoragesever for exclusion. 2021-06-23 18:03:27 -07:00
Neethu Haneesha Bingi 62355571d0 exclude servers based on locality match 2021-06-23 18:03:27 -07:00
Chaoguang Lin 0fd60cd334 Update the help text of fdbcli command setclass to split proxy into grv_proxy and commit_proxy 2021-06-23 23:34:10 +00:00
sfc-gh-tclinkenbeard 6619545c30 Merge remote-tracking branch 'origin/master' into config-db 2021-06-18 19:59:56 -07:00
Chaoguang Lin 9d823e9592 remove unnecessary version check in fdbcli 2021-06-17 19:13:07 +00:00
sfc-gh-tclinkenbeard 826e70916c Merge remote-tracking branch 'origin/master' into config-db 2021-06-17 09:47:41 -07:00
Chaoguang Lin 563bc681a0 remove code 2021-06-17 00:35:44 +00:00
Chaoguang Lin ecff680b47 Merge branch 'master' of github.com:apple/foundationdb into add-fdbcli-tests 2021-06-17 00:29:41 +00:00
Chaoguang Lin d4f30a7bc7 Write error output to stderr; update output format of unlock 2021-06-17 00:26:43 +00:00
Andrew Noyes 6c2165dfee
Merge pull request #4845 from sfc-gh-clin/refactor-fdbcli-2
Refactor fdbcli commands: advanceversion, maintenance, snapshot, force_recovery_with_data_loss
2021-06-15 11:13:18 -07:00
Andrew Noyes a3e3a18cda
Update fdbcli/ForceRecoveryWithDataLossCommand.actor.cpp 2021-06-15 11:12:14 -07:00
Chaoguang Lin 82c63c154d Merge branch 'master' of github.com:apple/foundationdb into add-fdbcli-tests 2021-06-14 17:35:33 +00:00
Josh Slocum 65c49fc1e4
Merge pull request #4934 from sfc-gh-jslocum/tss_quarantine
Added TSS Quarantine and fixed TSS mapping bug in CommitProxy
2021-06-11 11:52:42 -07:00
Josh Slocum 199d6ed994
Merge pull request #4895 from sfc-gh-jslocum/tss_docs
Added TSS documentation
2021-06-11 11:50:28 -07:00
sfc-gh-tclinkenbeard 41c790b299 Merge remote-tracking branch 'origin/master' into config-db 2021-06-10 22:31:23 -07:00
Chaoguang Lin ce2f6a19f3 Keep the threadFuture<Standalone<...>> alive uto hold up the memory 2021-06-10 19:41:51 +00:00
sfc-gh-tclinkenbeard c272304e60 Manage global flow knobs with global knob collection 2021-06-09 22:33:00 -07:00
sfc-gh-tclinkenbeard 83a0e473e8 Refactor IKnobCollection code 2021-06-09 20:50:00 -07:00
Josh Slocum c6d96c4124 Added TSS Quarantine and fixed TSS mapping bug in CommitProxy 2021-06-09 14:42:50 +00:00
Chaoguang Lin 1f7acc8d02 Merge branch 'master' of github.com:apple/foundationdb into refactor-fdbcli-2 2021-06-09 02:29:18 +00:00
sfc-gh-tclinkenbeard cfc4545135 Use g_knobs for SERVER_KNOBS and CLIENT_KNOBS 2021-06-07 14:32:51 -07:00
sfc-gh-tclinkenbeard 371a38e6e5 Merge remote-tracking branch 'origin/master' into remove-extra-copies 2021-06-07 10:26:06 -07:00
Trevor Clinkenbeard 866f536983
Merge pull request #4888 from sfc-gh-tclinkenbeard/remove-fdbserver-includes
Remove fdbserver includes from fdbclient
2021-06-07 10:22:13 -07:00
Josh Slocum be9fa2ce52 Added TSS documentation 2021-06-07 14:49:41 +00:00
Chaoguang Lin 11eed5bc71 Merge branch 'master' of github.com:apple/foundationdb into refactor-fdbcli-2 2021-06-04 22:57:07 +00:00
sfc-gh-tclinkenbeard 89dadf1475 Create IKnobCollection interface 2021-06-02 23:40:52 -07:00
sfc-gh-tclinkenbeard 4c059670a0 Parse configuration knob values on the client 2021-06-02 10:04:46 -07:00
sfc-gh-tclinkenbeard a775f92fca Merge remote-tracking branch 'origin/master' into config-db 2021-06-01 15:39:34 -07:00
sfc-gh-tclinkenbeard 1a40c60674 Move RestoreWorkerInterface into fdbserver 2021-05-30 15:02:33 -07:00
sfc-gh-tclinkenbeard 594e8944ae Move RestoreWorkerInterface into fdbserver 2021-05-30 11:51:47 -07:00
Josh Slocum ce82c9653e Testing Storage Server implementation 2021-05-25 20:28:50 +00:00
Evan Tschannen 6165af81fa Merge branch 'apple:master' into feature-range-feed 2021-05-21 15:21:34 -07:00
Chaoguang Lin 455046de5f fix format, make the call interruptable 2021-05-20 23:29:22 +00:00
Chaoguang Lin 9b228fd4db Refactor snapshot command using the client function 2021-05-20 21:01:50 +00:00
Chaoguang Lin f1a0e4737a update error handling logic in fdbcli 2021-05-20 19:47:47 +00:00
Chaoguang Lin f3854fe8da Refactor force_recovery_with_data_loss command using the corresponding client function 2021-05-20 19:47:00 +00:00
Chaoguang Lin 6df94cba98 Refactor maintenance command using special keys 2021-05-20 18:37:03 +00:00
Chaoguang Lin a2f3aa1fa9 Remove duplicate advanceversion help text 2021-05-18 19:02:32 +00:00
Chaoguang Lin 35b88cd28b refactor advanceversion command 2021-05-18 07:22:17 +00:00
Xiaoxi Wang 8b1f9f7337 Add command line support 2021-05-17 20:57:54 +00:00
Chaoguang Lin 42eced15c9 Update comments and trigger CI 2021-05-11 16:46:07 -07:00
Chaoguang Lin 9a6151d3fc Update fdbcli.h to fdbcli.actor.h, removed the unnecessary wrapper 2021-05-11 14:31:08 -07:00
Chaoguang Lin 8002a389d4 add comments for error handling in ConsistencyCheckCommand.actor.cpp 2021-05-11 12:12:33 -07:00
Chaoguang Lin 359abfb008 Update FDB_API_VERSION to 710 2021-05-11 12:08:48 -07:00
sfc-gh-tclinkenbeard f28ac955c3 Remove unnecessary temporary objects while growing objects of type std::vector<std::pair<A, B>> 2021-05-10 16:32:50 -07:00
Chaoguang Lin b5767e2a64 Add documentation for getTransaction function, which is used for refactoring 2021-05-10 12:29:46 -07:00
Chaoguang Lin 520c4fc2b9 Fix typo in the variable name 2021-05-07 16:03:52 -07:00