332 Commits

Author SHA1 Message Date
Jon Fu
a707227092 initial commit to add cache_range to fdbcli 2020-08-06 12:23:31 -04:00
Meng Xu
62a6e71626
Merge pull request #3591 from apple/release-6.3
Merge Release 6.3 to master
2020-08-02 12:45:02 -07:00
Andrew Noyes
87098afdb4 Add braces around ifs 2020-08-02 17:26:35 +00:00
Andrew Noyes
2d0449dcd6 RebootRequest uses seconds, not ms 2020-08-02 02:19:09 +00:00
Chaoguang Lin
de3f243dc1 Fix \xff\xff/worker_interface call in fdbcli 2020-08-01 01:59:48 -07:00
Chaoguang Lin
29f4381c01 Deprecate \xff\xff/suspend in 7.0 2020-08-01 01:09:45 -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
fbe36ced23 Rewrite all \xff\xff/reboot_worker call 2020-07-31 16:33:16 -07:00
Chaoguang Lin
05a0a47824 throw actor_cancelled error 2020-07-30 22:15:22 -07:00
Andrew Noyes
29e328cf32 Use addressExcluded to compare exclusions and addresses
Don't convert the exclusion to a NetworkAddress use operator==, since that's problematic for two reasons:

1. The network address of the not-yet-excluded server might compare differently due to flags like private or public
2. The network address of the not-yet-excluded server will never compare equal to a whole-machine exclusion
2020-07-27 18:52:07 +00:00
Andrew Noyes
09cf3e2883 Revert "Use IPAddress instead of NetworkAddress for exclude"
This reverts commit 331ee4dab41d0f3354ce940cfd4d95d91b387122.
2020-07-27 18:38:57 +00:00
Andrew Noyes
331ee4dab4 Use IPAddress instead of NetworkAddress for exclude
NetworkAddress has other fields like flags that aren't relevant for
exclude. Network addresses with equal ip addresses not comparing equal
appears to be the cause of #3565
2020-07-27 05:40:14 +00:00
Evan Tschannen
e1dedff7b3 Merge branch 'release-6.2' into release-6.3
# Conflicts:
#	CMakeLists.txt
#	bindings/c/test/mako/mako.c
#	cmake/ConfigureCompiler.cmake
#	documentation/sphinx/source/downloads.rst
#	fdbcli/fdbcli.actor.cpp
#	fdbclient/FileBackupAgent.actor.cpp
#	packaging/msi/FDBInstaller.wxs
#	versions.target
2020-07-24 12:10:44 -07:00
Evan Tschannen
5a8a8153ce updated documentation 2020-07-23 11:22:16 -07:00
Evan Tschannen
f5e7ee23a8 updated text of fdbcli output 2020-07-23 11:09:59 -07:00
Evan Tschannen
49bf42e66a added the ability to suspend processes from fdbcli 2020-07-22 16:37:00 -07:00
A.J. Beamon
cff0c485b0 Update a comment to remove use of word blacklist 2020-06-15 15:27:35 -07:00
A.J. Beamon
e10704fd76 Cherry-pick region related status changes from 6.3 2020-06-09 14:56:21 -07:00
A.J. Beamon
57390bfbc5
Merge pull request #3263 from apple/release-6.2
Merge release-6.2 into release-6.3
2020-05-28 14:14:38 -07:00
A.J. Beamon
382666d21e Permissions were wrong on installed files. A missing DESTINATION for fdbserver caused the binary to be missing. 2020-05-28 10:33:09 -07:00
A.J. Beamon
b3c269351a
Merge pull request #3252 from apple/release-6.2
Merge release-6.2 into release-6.3
2020-05-27 19:13:24 -07:00
A.J. Beamon
96f396ec7f Make sure to build the binary stripping targets when packaging stripped binaries 2020-05-27 16:40:07 -07:00
A.J. Beamon
12225c0f46 Adopt consistent use of ... for repeating arguments 2020-05-27 15:27:47 -07:00
A.J. Beamon
a632b26beb Add documentation for several fdbcli commands that were present in fdbcli help but were not in our online documentation. 2020-05-27 13:29:01 -07:00
A.J. Beamon
d6be580319 Merge branch 'release-6.2' into merge-release-6.2-into-release-6.3
# Conflicts:
#	documentation/sphinx/source/command-line-interface.rst
#	documentation/sphinx/source/release-notes.rst
#	fdbcli/fdbcli.actor.cpp
2020-05-27 11:42:27 -07:00
A.J. Beamon
e4b1489a0e
Merge pull request #3202 from ajbeamon/cmake-use-stripped-binaries-for-packages
cmake: use stripped binaries for packages unless generating debug packages
2020-05-27 11:36:38 -07:00
A.J. Beamon
1f1a8df7ef Auto completion for "throttle disable auto" were wrong because of logical operator grouping problems. 2020-05-22 09:48:53 -07:00
A.J. Beamon
2f9cd383ea Use stripped executables in packages when not building with debug symbols. 2020-05-21 13:39:55 -07:00
tclinken
3a8efb2d0b Added advanceversion command to fdbcli 2020-05-20 15:47:31 -07:00
tclinken
40aec61d30 Added fdbcli getversion command 2020-05-20 15:47:30 -07:00
tclinken
4f5bf41ed8 Print explanation when fdbcli unlock fails 2020-05-20 15:47:30 -07:00
tclinken
9c6bec1af6 Add unlock command to fdbcli 2020-05-20 15:47:30 -07:00
tclinkenbeard
b3aa54e7eb Add lock command to fdbcli 2020-05-20 15:47:30 -07:00
A.J. Beamon
cc4874918a Merge branch 'release-6.3' into tag-throttling-by-priority
# Conflicts:
#	fdbserver/Ratekeeper.actor.cpp
2020-05-20 14:26:35 -07:00
Evan Tschannen
a3d4f3f4de
Merge pull request #3175 from ajbeamon/fdbcli-throttle-improve-hints-and-completion
Better hint and completion help with throttle command in fdbcli
2020-05-20 14:25:03 -07:00
A.J. Beamon
b589c3c940 Remove IncludeVersions.h, which is no longer needed for cmake-only builds 2020-05-20 13:23:02 -07:00
A.J. Beamon
14b23c146f Support throttling and unthrottling tags by priority and their auto/manual state in fdbcli. 2020-05-15 12:47:55 -07:00
A.J. Beamon
f1477b09e9 Better hint and completion help with throttle command in fdbcli. 2020-05-14 16:04:03 -07:00
Andrew Noyes
8bd5dcaff8 Merge branch 'master' into atn34/special-key-versioning 2020-05-09 15:34:20 -07:00
Andrew Noyes
a7c21cdadd Use new worker_interfaces key range in fdbcli 2020-05-08 05:37:37 +00:00
A.J. Beamon
b1055a8501 Merge branch 'master' into transaction-tagging 2020-05-05 16:03:39 -07:00
Alex Miller
78d644f673
Merge branch 'master' into bugfixes/cmake-includes 2020-05-04 02:11:46 -07:00
A.J. Beamon
decf3e82b0 Fix various bugs and make sure to cleanup throttles from the database when they expire 2020-05-01 21:36:28 -07:00
A.J. Beamon
41c517a5dd Merge branch 'master' into transaction-tagging
# Conflicts:
#	fdbclient/NativeAPI.actor.cpp
2020-04-27 13:05:24 -07:00
A.J. Beamon
239876351b Add some initial auto-throttling. Move the definition of the priority enum to a more global place and use it for all transaction priorites (except in ClientLogEvents, because of serialization incompatibilites). 2020-04-24 11:31:16 -07:00
A.J. Beamon
35c18ac60a Improvements to expiration. Encode throttles with auto/manual and priority in the key to support throttling the same tag with different values in these parameters. 2020-04-23 20:50:40 -07:00
A.J. Beamon
f1dd0ee298 Protect against a ratekeeper starting up with a clock set in the past (compared to old ratekeeper) extending the duration of throttles excessively. 2020-04-21 16:35:25 -07:00
A.J. Beamon
78d48a0dad Merge branch 'master' into transaction-tagging
# Conflicts:
#	fdbcli/fdbcli.actor.cpp
#	fdbclient/Knobs.h
#	fdbclient/NativeAPI.actor.cpp
#	fdbclient/fdbclient.vcxproj
#	fdbserver/MasterProxyServer.actor.cpp
2020-04-17 09:23:18 -07:00
A.J. Beamon
2b66dcd24a Some more refactoring. Reduce what is sent from RK->MP->clients 2020-04-17 08:07:01 -07:00
A.J. Beamon
0fba8c47be Checkpoint: Ratekeeper sets absolute limits for tag throttles and enforces them by distributing requests to proxies, who distribute them to clients.
A few refactorings.
2020-04-16 14:43:22 -07:00