sfc-gh-tclinkenbeard
20ac60fb11
Set throttling ratio in GlobalTagThrottler::tryUpdateAutoThrottling
2022-07-19 17:04:04 -07:00
sfc-gh-tclinkenbeard
b49c36f0b0
Add StorageQueueInfo::getWriteQueueSizeLimitRatio method
2022-07-19 16:28:27 -07:00
Markus Pilman
1de37afd52
Make TEST macros C++ only ( #7558 )
...
* proof of concept
* use code-probe instead of test
* code probe working on gcc
* code probe implemented
* renamed TestProbe to CodeProbe
* fixed refactoring typo
* support filtered output
* print probes at end of simulation
* fix missed probes print
* fix deduplication
* Fix refactoring issues
* revert bad refactor
* make sure file paths are relative
* fix more wrong refactor changes
2022-07-19 13:15:51 -07:00
sfc-gh-tclinkenbeard
086e4bff06
Merge remote-tracking branch 'origin/main' into global-tag-throttling3
2022-06-28 10:18:13 -07:00
Xiaoxi Wang
a5054b2beb
move getServerListAndProcessClasses to NativeAPI
2022-06-23 15:28:45 -07:00
sfc-gh-tclinkenbeard
44e367830a
Remove unnecessary indirection in Ratekeeper::monitorThrottlingChanges implementation
2022-06-14 11:24:26 -07:00
sfc-gh-tclinkenbeard
5a1de67757
Add GLOBAL_TAG_THROTTLING knob
2022-05-07 15:58:04 -07:00
Bharadwaj V.R
726cb3a18f
merge commits from main
2022-03-28 22:49:03 -07:00
Bharadwaj V.R
961e4ae7fd
ratekeeper and ser-des fixes
2022-03-24 17:25:07 -07:00
sfc-gh-tclinkenbeard
30651bf2c6
Fix order of TagInfo constructor arguments
2022-03-22 17:06:33 -07:00
Bharadwaj V.R
56613bcde5
Create a boolean state indicating whether an SSI is open for traffic
2022-03-17 15:59:41 -07:00
sfc-gh-tclinkenbeard
71976e51c5
Merge remote-tracking branch 'origin/main' into global-tag-throttling2
2022-03-16 13:53:46 -07:00
sfc-gh-tclinkenbeard
a13b408793
Add StorageQueueInfo::addCommitCost method
2022-03-12 14:28:50 -04:00
sfc-gh-tclinkenbeard
cdc099b192
Add StorageQueueInfo::update method
2022-03-12 14:17:44 -04:00
sfc-gh-tclinkenbeard
1ef0102974
Add TLogQueueInfo::update method
2022-03-12 14:04:10 -04:00
sfc-gh-tclinkenbeard
5799b6cbd7
Add comments and modify ITagThrottler::tryUpdateAutoThrottling method
2022-03-11 12:13:34 -04:00
sfc-gh-tclinkenbeard
5c053c6c37
Move expiredTagThrottleCleanup into TagThrottler class
2022-03-11 12:09:15 -04:00
sfc-gh-tclinkenbeard
eb5a556c98
Move constructor implementations out of Ratekeeper.h
2022-03-11 12:09:15 -04:00
sfc-gh-tclinkenbeard
229f0cca8b
Add StorageQueueInfo::refreshCommitCost method
2022-03-11 12:09:15 -04:00
sfc-gh-tclinkenbeard
455b75abca
Use structured bindings for for loop in Ratekeeper::refreshStorageServerCommitCost
2022-03-11 12:09:15 -04:00
sfc-gh-tclinkenbeard
cad106f9eb
Support sending multiple busy tags from storage server to ratekeeper
2022-03-11 12:09:15 -04:00
sfc-gh-tclinkenbeard
e00820cdd7
Reduce mutable access to *QueueInfo objects in Ratekeeper.actor.cpp
2022-03-11 01:04:13 -04: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
sfc-gh-tclinkenbeard
0f4c808f37
Remove TagThrottler::ratekeeper field
2022-02-14 19:08:23 -08:00
sfc-gh-tclinkenbeard
58669717f1
Move tryAutoThrottleTag method to TagThrottler
2022-02-14 18:54:12 -08:00
sfc-gh-tclinkenbeard
796249e99d
Move lastBusiestCommitTagPick field back to Ratekeeper
2022-02-14 16:15:51 -08:00
sfc-gh-tclinkenbeard
00f12687c6
Add TagThrottler class
2022-02-14 16:03:37 -08:00
sfc-gh-tclinkenbeard
49ba96e0bb
Clean up ratekeeper includes
2022-02-14 13:02:09 -08:00
sfc-gh-tclinkenbeard
8074630530
Rename class RatekeeperData to Ratekeeper
2022-02-14 12:42:25 -08:00
sfc-gh-tclinkenbeard
d6c5239080
Fix copyright headers
2022-02-14 12:36:44 -08:00
sfc-gh-tclinkenbeard
d4b4479399
Rename RatekeeperData.actor.cpp to Ratekeeper.actor.cpp
2022-02-14 12:35:50 -08:00
sfc-gh-tclinkenbeard
687df447ce
Move all code from Ratekeeper.actor.cpp into RatekeeperData.actor.cpp
2022-02-14 12:32:34 -08:00
Zhe Wang
d684508540
Add RatekeeperLimitReasonDetails traceevent for RK
2022-02-10 13:59:47 -08:00
Chang Liu
bdfae966e4
Fix roll trace event issue
...
Description
Testing
2021-09-24 09:53:32 -07:00
Chang Liu
462781cd07
Fix roll trace event issue
...
Description
Testing
2021-09-24 09:53:32 -07:00
Chang Liu
abc828f8ef
Fix roll trace event issue
...
Description
Testing
2021-09-24 09:53:32 -07:00
Chang Liu
af03d18cc1
Fix roll trace event issue
...
Description
Testing
2021-09-24 09:53:32 -07:00
Chang Liu
1817f2ea02
Stop roll trace events for instances that are no longer running
...
Description
Testing
2021-09-24 09:53:32 -07:00
Chang Liu
be363f4d81
Stop roll trace events for instances that are no longer running
...
Description
Testing
2021-09-24 09:53:32 -07:00
Xiaoge Su
abf73047ca
Enforce std:: specifier rather than using namespace
2021-09-16 19:40:28 -07:00
Chaoguang Lin
fbed117b21
Solve comments; Add a method to return DatabaseContext Reference
2021-08-19 19:34:25 +00:00
Chaoguang Lin
7ac1d17bcb
Add a local namespace in Ratekeeper.actor.cpp to differenitate name GrvProxyInfo
2021-08-17 21:05:57 +00:00
Chaoguang Lin
179c313e08
Use DatabaseContext instead of Database in template functions
2021-08-17 20:02:25 +00:00
Chaoguang Lin
bf0d0598dc
Refactor all ThrottleAPI functions using template and remove duplicate copies
2021-08-11 23:59:25 +00:00
Chaoguang Lin
618c72f7e2
Draft to use template to rewrite ThrottleApi
2021-08-11 01:07:36 +00:00
sfc-gh-tclinkenbeard
c74047c665
Merge remote-tracking branch 'origin/master' into fix-more-clang-warnings
2021-07-28 11:51:02 -07:00
Steve Atherton
507c1f11e3
Add .log() to bare TraceEvent() invocations without any .detail()s to avoid clang-tidy warning about immediate destruction of object without use.
2021-07-26 19:55:10 -07:00
sfc-gh-tclinkenbeard
3442ebd3b7
Fix more -Wreorder-ctor warnings across many files
2021-07-24 11:20:51 -07:00
sfc-gh-tclinkenbeard
6f81155784
Merge remote-tracking branch 'origin/master' into const-serverdbinfo
2021-07-20 10:18:40 -07:00
Steve Atherton
f596a81073
Rename ::TRUE and ::FALSE in BooleanParams to ::True and ::False so as to not conflict with the TRUE and FALSE macros provided by the Windows and MacOS SDKs.
2021-07-17 00:11:40 -07:00