Commit Graph

125 Commits

Author SHA1 Message Date
Chaoguang Lin 95654ce7e7 Change dbLocked to snake_case naming db_locked 2020-10-22 11:35:39 -07:00
Chaoguang Lin b728fe473e Add consistencycheck command to special keys 2020-10-22 11:08:54 -07:00
Chaoguang Lin 76440018fb Remove unnecessary error thrown when calling clear range on the lock special key range 2020-10-08 21:39:13 -07:00
Chaoguang Lin 53d3759e73 Add lock command to special key \xff\xff/dbLocked 2020-10-08 14:23:02 -07:00
Chaoguang Lin 2803e6be52 Remove enabling ACCESS_SYSTEM_KEYS 2020-09-09 16:17:43 -07:00
Chaoguang Lin 43e3e320e3 Refactor getrange for read-write module and add a test to make sure we have consistent results 2020-09-08 11:08:48 -07:00
Chaoguang Lin 443e9a251d Igore value in set in excluding(fail) implementation 2020-09-04 15:21:47 -07:00
Chaoguang Lin ee2ce6e758 Refactor ryw function which updating read result with writes in the transaction 2020-09-04 14:54:32 -07:00
Chaoguang Lin 430921f25f Update local kv's contruction using result.arena() 2020-09-02 13:38:24 -07:00
Chaoguang Lin 0dc5736f54 Allow directly read \xff\xff/management/* without setting option 2020-08-28 01:01:37 -07:00
Chaoguang Lin caeeea365e Revert "Disable support for pattern match of a whole machine address"
This reverts commit 94221f1e91.
2020-08-27 23:07:22 -07:00
Chaoguang Lin 94221f1e91 Disable support for pattern match of a whole machine address 2020-08-27 11:53:30 -07:00
Chaoguang Lin a07b9f234d Add readonly range \xff\xff/configuration/process/class_source, and change \xff\xff/configuration/class/ to \xff\xff/configuration/process/class_type/ 2020-08-25 18:18:32 -07:00
Chaoguang Lin 6d17e996fb Remove override 2020-08-25 14:59:43 -07:00
Chaoguang Lin b8475ebb4b Fix network address order bug in ExclusionInProgressActor 2020-08-21 01:20:14 -07:00
Chaoguang Lin cf19c5dac9 Move validation of network address and class type before get worker list 2020-08-21 00:56:12 -07:00
Chaoguang Lin 556b239057 clang-format 2020-08-20 14:51:41 -07:00
Chaoguang Lin e54f728d42 update comments 2020-08-20 14:41:17 -07:00
Chaoguang Lin 4a8a356ffb throw special_keys_api_failure if clear called on \xff\xff/configuration/class 2020-08-20 14:38:07 -07:00
Chaoguang Lin 1815cc24a3 Use default set and clear implementations for exclude and failed 2020-08-20 14:26:41 -07:00
Chaoguang Lin 707b88583a Add default encode, decode methods. Add test for setclass special keys 2020-08-20 13:50:35 -07:00
Chaoguang Lin 5660de9c09 Add \xff\xff/configuration/class to change process class 2020-08-19 17:54:38 -07:00
Chaoguang Lin b9474055a5 Add \xff\xff/configuration/class to read process class 2020-08-14 01:01:08 -07:00
Chaoguang Lin b682ad75f9 Fix a memory bug, change \xff\xff/management/options/exclude/force to .../excluded/force 2020-08-05 13:18:39 -07:00
Chaoguang Lin d9e5d65aaf Merge remote-tracking branch 'upstream/master' into add-management-api-into-special-key-space 2020-08-01 00:31:26 -07:00
Chaoguang Lin 6dc8b4c1e9 Fix \xff\xff in error message 2020-07-31 13:31:36 -07:00
Chaoguang Lin a048e5e159 Change prefix to \xff\xff/management and make decode/encode as pure functions 2020-07-31 02:18:49 -07:00
Chaoguang Lin c8a2e7ab07 Add operation instruction in error message for failure of exclusion safety check 2020-07-30 22:38:35 -07:00
Chaoguang Lin 05a0a47824 throw actor_cancelled error 2020-07-30 22:15:22 -07:00
Chaoguang Lin 10540a3c73 Change error name and fix a bug in ExclusionInProgressRangeImpl::getRange() 2020-07-30 18:58:09 -07:00
Evan Tschannen a49cb41de7 Merge branch 'release-6.3'
# Conflicts:
#	CMakeLists.txt
#	cmake/ConfigureCompiler.cmake
#	fdbserver/Knobs.cpp
#	fdbserver/StorageCache.actor.cpp
#	fdbserver/storageserver.actor.cpp
#	flow/ThreadHelper.actor.h
#	flow/serialize.h
#	tests/CMakeLists.txt
2020-07-29 00:31:55 -07:00
Chaoguang Lin 70aecfa2d6 refine ManagementCommandsOptionsImpl::clear(..., range) 2020-07-28 13:32:31 -07:00
Chaoguang Lin 726eb18119 Fix typo 2020-07-28 11:39:29 -07:00
Chaoguang Lin a641429d63 Add an enum for implementation type and use for registeration 2020-07-27 12:29:03 -07:00
Andrew Noyes 57b29fd4cd Fix memory error 2020-07-24 23:31:16 +00:00
Chaoguang Lin b495c8a664 Remove unnecessary code 2020-07-24 12:25:03 -07:00
Chaoguang Lin ec9553b6c6 change \xff\xff/failure to \xff\xff/error_message 2020-07-24 11:38:56 -07:00
Chaoguang Lin 74da032967 Add a decode function to map special keys to its real keys that needs to be modified 2020-07-17 15:16:28 -07:00
Chaoguang Lin a1eeb9c3ee Update traces for debugging 2020-07-17 12:36:50 -07:00
Chaoguang Lin 1e5096990e Add the function to return the special key for given management api command and option 2020-07-17 12:32:42 -07:00
Chaoguang Lin 96e5a4c827 Replace all \xff\xff/conf with managementApiRange.begin 2020-07-17 11:56:27 -07:00
Chaoguang Lin 5fa6785fb8 Add special keys for command options 2020-07-16 18:15:35 -07:00
Chaoguang Lin 52778bdf84 Add debugging trace 2020-07-15 17:30:45 -07:00
Chaoguang Lin 1e7db425d0 fix bug when returning the error message for checkExclusion 2020-07-15 16:15:43 -07:00
Chaoguang Lin e9d0205091 fix a boundary bug when throw cross-module-clear errors 2020-07-14 11:56:40 -07:00
Chaoguang Lin 3f4da830a2 Merge remote-tracking branch 'upstream/master' into add-management-api-into-special-key-space 2020-07-14 10:36:47 -07:00
Chaoguang Lin 1635e8e0ba using special keys in management api for include when api_version >= 700 2020-07-14 10:31:19 -07:00
Chaoguang Lin 60d1bfc247 Add read impl for inProgressExclusionServers 2020-07-13 13:35:25 -07:00
Jingyu Zhou 2e5ae8eed5 Change iterator name to small case 2020-07-10 10:56:41 -07:00
Chaoguang Lin 5f6093b59e Add an option to enable write in special key space, which is by default not allowed 2020-07-08 15:49:34 -07:00