Lukas Joswiak
10d5007e1a
Cleanup
2021-04-27 09:59:10 -07:00
Markus Pilman
2d6fafde64
Implemented configuration
2021-04-27 10:26:42 -06:00
Lukas Joswiak
7f9ee224a4
Refactor samples to include wait state
2021-04-26 22:50:44 -07:00
Lukas Joswiak
76acb0fcb9
Update date format to ISO 8601
2021-04-26 17:42:15 -07:00
Lukas Joswiak
25fb85a64c
Add API to read samples from worker
2021-04-23 14:06:21 -07:00
Chaoguang Lin
185d08b5b8
Add comments for added actors
2021-04-23 11:13:08 -07:00
Lukas Joswiak
2357177722
Add bool support to global configuration
2021-04-20 15:05:51 -07:00
Chaoguang Lin
af387e1519
Add check to make sure maintenance time is non-negative and update the documentation
2021-04-20 14:09:52 -07:00
Chaoguang Lin
2e825908dc
Add check to make sure maintenance time is positive and update the documentation
2021-04-20 14:04:00 -07:00
Chaoguang Lin
b34825a0e6
Merge branch 'master' of github.com:apple/foundationdb into add-dd-and-maintenance
2021-04-19 14:52:10 -07:00
Markus Pilman
7307750e5e
Merge remote-tracking branch 'origin/master' into features/actor-lineage
2021-04-19 11:29:52 -06:00
Lukas Joswiak
bb5539bb70
Initialize version field
2021-04-16 14:08:36 -07:00
Lukas Joswiak
5c33c7c4f5
Remove TODO
2021-04-15 13:54:49 -07:00
Lukas Joswiak
551268b0f2
Add well known endpoint for worker communication
2021-04-15 13:50:50 -07:00
Lukas Joswiak
51e4c19675
Add migration for client profiling keys
2021-04-14 10:56:33 -07:00
Lukas Joswiak
7de23918c0
Add comments, fix erase bug, make optimizations
2021-04-14 10:56:33 -07:00
Lukas Joswiak
c38ddf5eb7
Add comments
2021-04-14 10:56:33 -07:00
Lukas Joswiak
7ba7257cd2
Store global config data on heap
2021-04-14 10:56:33 -07:00
Lukas Joswiak
6de28dd916
clang-format
2021-04-14 10:56:33 -07:00
Lukas Joswiak
1260385965
Use object to wrap global configuration history
2021-04-14 10:56:32 -07:00
Lukas Joswiak
1c84c04ffc
Add global configuration prefix function
2021-04-14 10:56:32 -07:00
Lukas Joswiak
b7cd8175be
Add arena per object in global config
2021-04-14 10:56:32 -07:00
Lukas Joswiak
70c4bbe119
Fix clear range persistence issue
2021-04-14 10:56:32 -07:00
Lukas Joswiak
4a799baa1d
Add clear range for global configuration
2021-04-14 10:56:32 -07:00
Lukas Joswiak
80c6048a01
Naming fixes
2021-04-14 10:56:32 -07:00
Lukas Joswiak
c9b0d3dd4e
Fix memory leak
...
The map containing global configuration data had keys of type StringRef,
referencing data allocated in history arenas. When the old history
was deleted, this memory was no longer valid and some keys would point
to garbage memory.
2021-04-14 10:56:32 -07:00
Lukas Joswiak
7bb0b3d899
Use commit version for global configuration updates
...
FIXME: There is a memory issue where the underlying data for values set
in the `data` field of GlobalConfig will be freed shortly after being
set.
2021-04-14 10:56:32 -07:00
Lukas Joswiak
f1415412f1
Add global configuration framework implementation
2021-04-14 10:56:32 -07:00
Chaoguang Lin
e2bd500fa7
Remove debug trace
2021-03-29 11:57:14 -07:00
Chaoguang Lin
ff6e922c9d
Clang-format SpecialKeySpace.actor.cpp
2021-03-26 12:24:45 -07:00
Chaoguang Lin
747fa2a353
Merge branch 'master' of github.com:apple/foundationdb into add-dd-and-maintenance
2021-03-26 12:22:37 -07:00
Chaoguang Lin
0eff74f205
Add special keys for maintenance and datadistribution
2021-03-26 12:19:33 -07:00
Vishesh Yadav
2c316db94d
Merge remote-tracking branch 'apple/master' into master-format-final
...
Also format the changes
2021-03-11 12:54:26 -08:00
FDB Formatster
df90cc89de
apply clang-format to *.c, *.cpp, *.h, *.hpp files
2021-03-10 10:18:07 -08:00
Chaoguang Lin
5b4e77bb99
Update comments, add asssertions
2021-02-25 13:13:34 -08:00
Chaoguang Lin
424aae71cc
Solve comments. Disable clear for ClientProfilingImpl and set the upperbound value for advanceversion
2021-02-25 13:02:56 -08:00
Chaoguang Lin
9ce9cba0e5
Merge branch 'master' of github.com:apple/foundationdb into add-advanceversion
2021-02-19 14:29:08 -08:00
Chaoguang Lin
703107332a
Add special keys for profile client get/set
2021-02-19 12:22:00 -08:00
Chaoguang Lin
70098b752a
Fix typo, solve comments
2021-02-18 14:23:51 -08:00
Chaoguang Lin
ac860b3c22
Add advanceversion into special keys
2021-02-18 01:27:14 -08:00
Chaoguang Lin
f3a849de10
Update ChangeConfig test for auto coordinators change
2021-02-16 23:55:58 -08:00
Chaoguang Lin
fca7f753f8
Remove special key for coordinators' 'auto' option
2021-02-16 13:46:45 -08:00
Chaoguang Lin
9dd94499f2
Update traces
2021-02-16 13:06:25 -08:00
Chaoguang Lin
731ee8a121
Update ChangeConfig to test coordinators special keys
2021-02-16 13:01:37 -08:00
Chaoguang Lin
b10959be0f
format code, add trace
2021-02-08 18:52:36 -08:00
Chaoguang Lin
d185ff3752
update \xff\xff/configuration/coordinators/processes
2021-02-05 00:55:34 -08:00
Chaoguang Lin
c2aedb0b94
clang-format, remove comments
2021-01-29 18:20:09 -08:00
Chaoguang Lin
e1182f2f86
Add coordinators to special keys
2021-01-29 11:45:52 -08:00
Trevor Clinkenbeard
b305e71ece
Merge pull request #4141 from sfc-gh-anoyes/anoyes/merge-release-6.3-master
...
Merge release 6.3 master
2020-12-09 08:50:57 -08:00
Lukas Joswiak
54237f28ea
Throw error on commit for late trace options
2020-12-07 14:43:44 -08:00
Andrew Noyes
cc669f399e
Merge remote-tracking branch 'upstream/release-6.3' into anoyes/merge-release-6.3-master
2020-12-07 22:26:11 +00:00
Chaoguang Lin
d97523a966
Fix typo
2020-12-06 14:04:16 -08:00
Chaoguang Lin
e5cad0f077
Fix the bug if boundary same as range and add comments
2020-12-04 14:58:40 -08:00
Lukas Joswiak
76142549e0
Return keys from range read in lexicographic order
2020-12-04 11:21:39 -08:00
Lukas Joswiak
3669615e4b
Refactor and clean up
2020-12-03 14:06:11 -08:00
Lukas Joswiak
1f166bc183
Add options to set custom transaction ID and disable tracing
2020-11-30 14:57:17 -08:00
Chaoguang Lin
cc4b282236
Remove the incorrect(unnecessary) versioning stuff, since the error is thrown by the server
2020-11-19 13:17:38 -08:00
Chaoguang Lin
da39b05620
Add comments about error type change
2020-11-18 12:14:59 -08:00
Chaoguang Lin
a101d3d706
Add versioning
2020-11-18 12:06:31 -08:00
Chaoguang Lin
a4174d3108
Change operation_failed to dd_not_found
2020-11-18 00:18:42 -08:00
Markus Pilman
bdd3dbfa7d
remove duplicates
2020-11-10 14:01:07 -07:00
sfc-gh-tclinkenbeard
cf4c8e375f
Merge remote-tracking branch 'origin/release-6.3' into merge
2020-10-29 22:15:41 -07:00
Andrew Noyes
a15bc32b14
Merge pull request #3945 from sfc-gh-clin/add-consistencycheck-to-special-keys
...
Add consistencycheck command to special keys
2020-10-26 10:59:17 -07:00
Chaoguang Lin
bd578a0d95
clang-format
2020-10-22 18:27:58 -07:00
Chaoguang Lin
3cbed7b0d1
Add checker to make sure registered special key range following snake case naming
2020-10-22 18:25:51 -07:00
Chaoguang Lin
4c42917b1d
Fix typos in comments
2020-10-22 15:36:10 -07:00
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
dec643987f
Add wait time after dd not found error
2020-10-21 16:58:23 -07:00
Chaoguang Lin
8d937a56f2
Throw operation_failed() if dd not found when calling ddMetricsRequestServer
...
Remove time_out error in DDMetricsList rpc
Add retry logic for dd special key when dd not found
Update FuzzApiCorrectness test
2020-10-21 15:28:03 -07:00
Young Liu
8cc3e4d3c6
Merge release-6.3 into master
2020-10-19 22:51:56 -07:00
Chaoguang Lin
c1b4e62bde
Change the trace from SevInfo to SevDebug
2020-10-15 13:55:31 -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