A.J. Beamon
23fcd8c076
Fix issues with command completion for exclude and storage_migration_type. Add missing documentation for tenant_mode in one spot.
2022-03-29 09:07:33 -07:00
Josh Slocum
f27475e2f4
Merge branch 'main' into blob_integration
2022-03-22 11:41:58 -05:00
sfc-gh-tclinkenbeard
a71099471b
Update copyright header dates
2022-03-21 13:36:23 -07:00
A.J. Beamon
a23add6bc4
Add fdbcli test for tenants. Add documentation for new fdbcli tenant commands. Various output cleanup. Fix limit parsing bug in listtenants command. Update gettenant output format.
2022-03-17 12:10:39 -07:00
A.J. Beamon
f8cddd3842
Add fdbcli support for tenants
2022-03-17 12:10:39 -07:00
Josh Slocum
e71b3533f9
Merge branch 'main' into blob_integration
2022-03-09 08:59:56 -06:00
Jingyu Zhou
1a5bf25b5c
Update code base to use fmt 8.1.1
2022-03-04 15:52:06 -08:00
Renxuan Wang
233c918ffb
Replace printf() and fprintf() with fmt::print().
2022-02-25 19:06:57 -08:00
Renxuan Wang
f7eb66441d
Try eliminating warnings in macOS and Windows CI builds.
...
MacOS warnings are format warnings, e.g., `format specifies type 'long' but the argument has type 'Version' (aka 'long long')`.
Windows warnings are `ACTOR does not contain a wait() statement`.
2022-02-25 19:06:57 -08:00
A.J. Beamon
250a88e682
Enforce that trace event suppression calls happen first when using trace event call chaining. Fix various instances where we weren't following this requirement.
2022-02-24 12:25:52 -08:00
Renxuan Wang
622d89b552
Rebase on main.
...
Since we changed ClusterConnectionString's status flag from boolean to enum in #6422 , we need to update this PR correspondingly.
2022-02-22 16:29:59 -08:00
Renxuan Wang
481587a8c6
Turn on hostname logic.
2022-02-22 16:29:59 -08:00
Josh Slocum
38a75a8b89
Merge branch 'main' into blob_integration
2022-02-17 17:47:38 -06:00
Renxuan Wang
e962d8184c
Remove the deprecated code.
...
They were deleted in #5593 but accidentally added back in #5589 .
2022-02-08 17:01:29 -08:00
A.J. Beamon
65f2c14f31
Merge pull request #6320 from johscheuer/add-fdbcli-loggroup
...
Add LogGroup support to fdbcli
2022-02-01 09:13:18 -08:00
Johannes M. Scheuermann
3b0feebd5d
Add LogGroup support to fdbcli
2022-01-31 17:47:39 +00:00
A.J. Beamon
2a83e99d6f
Support other output streams in fdbcli printAtCol
2022-01-26 14:50:23 -08: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
sfc-gh-tclinkenbeard
ec64890ac1
Remove some usages of PRId64 by using fmt library
2021-11-30 23:35:36 -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
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
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
3e79299898
Locality filter support to perpetual storage wiggler feature.
2021-09-30 10:00:33 -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
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
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
cfb9b56067
Refactor lock/unlock command, fix the related correctness test, add the documentation for updating usage of the special key
2021-09-13 13:28:48 -07:00
Josh Slocum
c2d1d1704f
Merge branch 'feature-range-feed' into blob_full
2021-09-10 11:21:52 -05:00
Evan Tschannen
ac5b580e2d
Merge branch 'master' into feature-range-feed
...
# Conflicts:
# fdbcli/fdbcli.actor.cpp
# fdbclient/StorageServerInterface.cpp
# fdbclient/StorageServerInterface.h
# fdbserver/ApplyMetadataMutation.cpp
# fdbserver/TLogServer.actor.cpp
# flow/error_definitions.h
2021-09-09 23:13:22 -07:00
Chaoguang Lin
8cc3f3f49d
Code format
2021-09-08 10:56:32 -07:00
Chaoguang Lin
8cef044a8b
Remove commented code; simplify code
2021-09-08 10:42:46 -07:00
Chaoguang Lin
af5643c998
Fix the issue in CheckStatus where it stuck as we cannot talk to any of the coordinators
2021-09-08 10:05:13 -07:00
Evan Tschannen
4bbae59bb0
Fixed a few bugs and added a backup popping mechanism
2021-09-02 21:11:44 -07:00