35 Commits

Author SHA1 Message Date
sfc-gh-tclinkenbeard
eab75d4ee1 Make enums automatically binary serializable 2020-11-14 19:22:04 -08:00
sfc-gh-tclinkenbeard
cf4c8e375f Merge remote-tracking branch 'origin/release-6.3' into merge 2020-10-29 22:15:41 -07:00
sfc-gh-tclinkenbeard
1d081401c6 Fix Tag::load bug 2020-10-22 14:13:14 -07:00
Young Liu
e87327b33b Merge master branch and keep master proxy reporting txn cost estimation to ratekeeper 2020-08-29 12:47:35 -07:00
Xiaoxi Wang
4e4fa0fded merge with master 2020-08-24 21:04:53 +00:00
XiaoxiWang
0d65e1e0e0 update ProtocolVersion 2020-08-23 21:03:26 +00:00
XiaoxiWang
476faa6521 change reason type 2020-08-21 04:07:25 +00:00
XiaoxiWang
0945959a35 add fdbcli support to list recommended tags 2020-08-20 06:26:31 +00:00
XiaoxiWang
bc6e42c634 add status json report for recommended throttled tags 2020-08-19 19:22:16 +00:00
XiaoxiWang
aa253742ec add getRecommendedTags to ThrottleApi 2020-08-19 17:39:43 +00:00
Xiaoxi Wang
4f7dab4951 sample clear op on client 2020-08-01 06:14:52 +00:00
Xiaoxi Wang
f3ee60b10b slight change 2020-07-20 03:17:46 +00:00
sfc-gh-tclinkenbeard
9f0398a7b1 Added comment explaining use of std::vector in TagSet 2020-06-14 19:56:45 -07:00
sfc-gh-tclinkenbeard
de50d8366d Use std::vector instead of std::set in TagSet 2020-06-14 18:51:19 -07:00
sfc-gh-tclinkenbeard
b044eeab0c Add encapsulation to TagSet 2020-06-14 15:30:40 -07:00
Evan Tschannen
ced65cd30b finished explicitly versioning everything stored in the database 2020-05-22 17:14:21 -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
fbf436f45f Various cleanup and knob adjustments. 2020-05-07 09:15:33 -07:00
A.J. Beamon
46263f794a Add missing line 2020-05-04 16:24:13 -07:00
A.J. Beamon
de1f85d106 Fix accounting bug in TagSet. Change serialization back to not including the number of elements. Fix knob usage. 2020-05-04 15:49:55 -07:00
A.J. Beamon
b33871a16b Fix serialization bug for TagSet 2020-05-02 15:58:45 -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
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
ede69c5141 Serialize throttle limits with expiration expressed as a duration to avoid clock differences. 2020-04-22 14:15:35 -07:00
A.J. Beamon
d2504c08c3 Send throttles at all priorities from RK->MP 2020-04-22 13:47:16 -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
6619a1a36a Rename transaction tag map. 2020-04-17 09:06:45 -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
A.J. Beamon
7f3fa00897 Reorganize a bit of code. 2020-04-10 13:53:23 -07:00
A.J. Beamon
6508c891fc Make the TagSet sent to the storage servers optional so we can distinguish no tags from unsampled. 2020-04-10 13:29:28 -07:00
A.J. Beamon
29b2c2f3aa Add hash to StringRef. Use unordered maps for storing tags. Create some helpful typedefs. 2020-04-10 12:54:59 -07:00
A.J. Beamon
55a0d00ad4 Encoding of tags in the database now supports multiple tags per throttle. Remove throttle prefix search. 2020-04-10 10:12:26 -07:00
A.J. Beamon
ebeca10bce Change the serialization of tags sent in some messages. Add communication of the sampling rate from cluster to clients. 2020-04-09 16:55:56 -07:00