You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* vttablet: cache proto3 row encoding to reduce query consolidation memory utilization (vitessio#19872)
Signed-off-by: Brett Wines <bwines@slack-corp.com>
Co-authored-by: Claude <svc-devxp-claude@slack-corp.com>
* fix: resolve CI failures from backport cherry-pick
Two issues from the cherry-pick:
1. sizegen formatting: remove blank lines between generated functions
in cached_size.go to match sizegen's output format
2. test panic: set FakePendingResult.Consolidator in the waiter cap
reject test to prevent nil pointer dereference in AddWaiterCounter
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
AI disclosure: Claude Code assisted with development. Every line of code was either written by or carefully reviewed by me :)
* Fix TestQueryExecutorConsolidatorWaiterCapReject: set consolidator total waiter count
The test was setting per-query WaiterCount but not the consolidator's
TotalWaiterCount, which is what the actual code checks to decide whether
the cap is exceeded. Also corrected assertions to match the actual code
path (one AddWaiterCounter(-1) call, not two).
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
AI disclosure: Claude Code assisted with development. Every line of code was either written by or carefully reviewed by me :)
---------
Signed-off-by: Brett Wines <bwines@slack-corp.com>
Co-authored-by: Claude <svc-devxp-claude@slack-corp.com>
Copy file name to clipboardExpand all lines: go/flags/endtoend/vtcombo.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,7 @@ Flags:
44
44
--config-path strings Paths to search for config files in. (default [{{ .Workdir }}])
45
45
--config-persistence-min-interval duration minimum interval between persisting dynamic config changes back to disk (if no change has occurred, nothing is done). (default 1s)
46
46
--config-type string Config file type (omit to infer config type from file extension).
47
+
--consolidator-cache-proto3-rows If true, the consolidation leader pre-caches proto3-encoded rows so that waiters avoid redundant encoding work.
47
48
--consolidator-query-waiter-cap int Configure the maximum number of clients allowed to wait on the consolidator.
48
49
--consolidator-query-waiter-cap-method string Configure the method when consolidator waiter cap is exceeded. Options: fallthrough, reject. (default "fallthrough")
49
50
--consolidator-stream-query-size int Configure the stream consolidator query size in bytes. Setting to 0 disables the stream consolidator. (default 2097152)
Copy file name to clipboardExpand all lines: go/flags/endtoend/vttablet.txt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,7 @@ Flags:
78
78
--config-path strings Paths to search for config files in. (default [{{ .Workdir }}])
79
79
--config-persistence-min-interval duration minimum interval between persisting dynamic config changes back to disk (if no change has occurred, nothing is done). (default 1s)
80
80
--config-type string Config file type (omit to infer config type from file extension).
81
+
--consolidator-cache-proto3-rows If true, the consolidation leader pre-caches proto3-encoded rows so that waiters avoid redundant encoding work.
81
82
--consolidator-query-waiter-cap int Configure the maximum number of clients allowed to wait on the consolidator.
82
83
--consolidator-query-waiter-cap-method string Configure the method when consolidator waiter cap is exceeded. Options: fallthrough, reject. (default "fallthrough")
83
84
--consolidator-stream-query-size int Configure the stream consolidator query size in bytes. Setting to 0 disables the stream consolidator. (default 2097152)
0 commit comments