A.J. Beamon
2a83e99d6f
Support other output streams in fdbcli printAtCol
2022-01-26 14:50:23 -08:00
A.J. Beamon
7989b83450
Use printable when formatting change feed ranges
2022-01-26 14:41:47 -08:00
Ray Jenkins
2c41c4841d
Rename linenoise thread name.
2022-01-25 13:21:14 -06:00
Ray Jenkins
e9e0d26867
Add thread name for FlowLineNoise.
2022-01-24 19:43:40 -06:00
Ray Jenkins
ff0d1e5efa
add back special_keys_api_failure error check
2022-01-24 13:32:44 -08:00
Ray Jenkins
d3055cc59a
Use single transaction for setProcessClass and add fdbcli unit test.
2022-01-24 13:32:44 -08:00
Ray Jenkins
d1fe48ce84
Format fix.
2022-01-24 13:32:44 -08:00
Ray Jenkins
9f577a8675
Add state prefix to ThreadFuture.
2022-01-24 13:32:44 -08:00
Ray Jenkins
234760f516
Verify process network address filter before attempting setclass. Provide error message if no matching process addresses found
2022-01-24 13:32:44 -08:00
Johannes M. Scheuermann
2b7990102e
Fix typo in comment
2022-01-17 06:08:24 +00:00
A.J. Beamon
ff1cb58174
Convert hyphens to underscores for all prefix-based arguments (e.g. --knob-, --locality-)
2021-12-14 12:01:44 -08:00
A.J. Beamon
f29f487823
Unify flags ( #25 )
...
* Unify flags implementation and change help text in backup.actor.cpp
Description
Testing
* Keep LOG_GROUP unchanged
Description
Testing
* Transfer the hyphens to underscores for internal options and user's input, EXCEPT leading hyphens
Description
Testing
* Use a deep copy of the user's input flag to do the match
Description
Testing
* Convert the _ to - in Option arrays of backup.actor.cpp
Description
Testing
* Transter _ to - for files:
TLSConfig.actor.h, fdbcli.actor.cpp, fdbserver.actor.cpp, FileConverter.h, FileConverter.cpp
Description
Testing
* Change another way to unify flag: using SO_O_ICASE_HYPHEN_AND_UNDERSCORE to determine whether we do the conversion in function IsEqual
Description
Testing
* Change the config command's name from SO_O_ICASE_HYPHEN_AND_UNDERSCORE to SO_O_HYPHEN_TO_UNDERSCORE
Description
Testing
* Update the comment for the SO_O_HYPHEN_TO_UNDERSCORE
Description
Testing
* Fix left underscore in SOption arrays
Description
Testing
* Convert _ to - in several files for commands
Description
Testing
* Make the FDBService and fdbmonitor backward compatible
Description
Testing
* Fix bugs about pointers
Description
Testing
* Check underscore and hyphen at the same time for --knob_, --localily_ and --test_
And fix bugs in fdbmonitor and FDBService
Description
Testing
* Simplify the function in fdbmonitor and FDBService about retrieving arguments.
And fix some documents in masterserver.actor.cpp
Description
Testing
* Convert _ to - for knob in the setKnob functions
Description
Testing
* Convert - to _ in the setKnob functions
Description
Since key in the knob related maps only contain _
Testing
* Rename varialbe name in the fdbmonitor and FDBService for clarification
Description
Testing
Co-authored-by: Chang Liu <chang.liu@snowflake.com>
2021-12-14 08:44:39 -08:00
Suraj Gupta
cb568bbd55
Add watch on config key.
2021-12-10 14:00:34 -06:00
Suraj Gupta
fc3376fe8f
Move client knob to database config for blob granules.
2021-12-10 14:00:34 -06:00
sfc-gh-tclinkenbeard
ec64890ac1
Remove some usages of PRId64 by using fmt library
2021-11-30 23:35:36 -08:00
Trevor Clinkenbeard
3d0ed2083c
Merge pull request #6000 from sfc-gh-tclinkenbeard/setup-flow-knobs
...
Setup global flow knobs in `setupNetwork`
2021-11-18 19:30:26 -08:00
sfc-gh-tclinkenbeard
2613ec7561
Expand use of fmt to get rid of %ld usage
2021-11-17 17:03:32 -08:00
sfc-gh-tclinkenbeard
07349869d9
Use fmt to address -Wformat warnings
2021-11-17 14:45:48 -08:00
sfc-gh-tclinkenbeard
766a05d33c
Merge remote-tracking branch 'origin/master' into add-format-warning
2021-11-17 12:14:01 -08:00
sfc-gh-tclinkenbeard
3b1ae39403
Add CLIOptions::setupKnobs method
2021-11-16 10:39:22 -08:00
sfc-gh-tclinkenbeard
deb0eb85e8
Initialize global flow knobs in setupNetwork
2021-11-16 00:41:34 -08:00
Evan Tschannen
6909754b21
changefeeds now have a whenAtLeast function for efficiently learning when the version has updated but no mutations have been committed
2021-11-14 19:08:46 -08:00
sfc-gh-tclinkenbeard
13bb7838aa
Enable clang -Wformat warning
2021-10-30 21:07:38 -07:00
Josh Slocum
0ff8ddc2b6
Merge branch 'master' into blob_full_clean
2021-10-25 13:38:48 -05:00
Evan Tschannen
6f7558b8ea
Merge branch 'master' of https://github.com/apple/foundationdb into feature-range-feed
...
# Conflicts:
# tests/CMakeLists.txt
2021-10-24 21:06:33 -07:00
A.J. Beamon
e882eb33fc
Abstract the cluster file into a cluster connection record that can be backed by something other than the filesystem.
2021-10-22 11:05:18 -07:00
Josh Slocum
773886515e
Merge branch 'feature-range-feed' into blob_full_clean
2021-10-22 11:07:51 -05:00
Evan Tschannen
3f7df58a77
fixed a number of issues
2021-10-19 13:56:52 -07:00
He Liu
f20f43a85a
Added warning in the exlucde
cli command help about potential dataloss, as well as in command-line-interface.rst.
2021-10-18 12:10:34 -07:00
Josh Slocum
5f0ec0612a
Merge branch 'feature-range-feed' into blob_full
2021-10-13 15:44:35 -05:00
Evan Tschannen
d51edf18dc
fixed merge conflicts
2021-10-09 19:47:24 -07:00
Evan Tschannen
5c642f706e
Merge branch 'master' of https://github.com/apple/foundationdb into feature-range-feed
...
# Conflicts:
# fdbcli/fdbcli.actor.cpp
2021-10-09 19:34:16 -07:00
Chaoguang Lin
e2fa511036
Add option --api-version for fdbcli
2021-10-05 13:00:28 -07:00
Neethu Haneesha Bingi
cbb3c9a82e
Fixed format errors.
2021-09-30 10:00:33 -07:00
Neethu Haneesha Bingi
3e79299898
Locality filter support to perpetual storage wiggler feature.
2021-09-30 10:00:33 -07:00
Xiaoxi Wang
40c6fbcc16
solve comment
2021-09-21 18:11:04 -07:00
Xiaoxi Wang
1730d75f73
change configure test
...
add store type check
add test file
2021-09-21 18:11:04 -07:00
Chaoguang Lin
c6b572dc06
Add makeInterruptable to commands' actors
2021-09-21 10:06:04 -07:00
Chaoguang Lin
a6940c6061
Change the return type of triggerddteaminfologCommandActor to bool to make it consistent with others
2021-09-21 10:06:04 -07:00
Chaoguang Lin
a871a9fac6
Refactor fileconfigure command
2021-09-21 10:06:04 -07:00
Chaoguang Lin
9f7ca7fafd
Fix rreversed return boolean value in configureCommandActor
2021-09-21 10:06:04 -07:00
Chaoguang Lin
65956ae6b7
Refactor configure command; refactor changeConfig to template code to reuse existing tests
2021-09-21 10:06:04 -07:00
Xiaoge Su
abf73047ca
Enforce std:: specifier rather than using namespace
2021-09-16 19:40:28 -07:00
Chaoguang Lin
e7d3516084
solve comments
2021-09-14 11:04:02 -07:00
Chaoguang Lin
6cca6b9e6f
Refactor exclude command
2021-09-14 11:04:02 -07:00
Chaoguang Lin
ff54ba8626
Refactor coordinators and include command
2021-09-14 11:04:02 -07:00
Josh Slocum
9992a7b33f
Added StorageMigrationType and cli commands
2021-09-14 09:55:41 -05:00
Chaoguang Lin
cb9dde358c
Solve comments, refatctor the error handling part
2021-09-13 13:28:48 -07:00
Chaoguang Lin
e81748e732
Fix all tr->get, hold the ThreadFuture for the memory
2021-09-13 13:28:48 -07:00
Chaoguang Lin
7e33e19feb
Simplify the code using the function getSpecialKeysFailureErrorMessage
2021-09-13 13:28:48 -07:00