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
Copy file name to clipboardExpand all lines: pkg/kv/kvserver/testdata/flow_control_integration_v2/admission_post_split_merge_v2_encoding_apply_to_elastic
+12-12Lines changed: 12 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -11,12 +11,12 @@ echo
11
11
-- that are yet to get admitted. We see 2*3*1MiB=6MiB deductions of
12
12
-- {regular,elastic} tokens with no corresponding returns. The 2*1MiB writes
13
13
-- happened on what is soon going to be the LHS and RHS of a range being split.
14
-
SELECT
14
+
SELECT
15
15
name,
16
16
crdb_internal.humanize_bytes(value::INT8)
17
-
FROM
17
+
FROM
18
18
crdb_internal.node_metrics
19
-
WHERE
19
+
WHERE
20
20
name LIKE'%kvflowcontrol%tokens%'
21
21
ORDER BY
22
22
name ASC;
@@ -65,12 +65,12 @@ ORDER BY
65
65
-- post-split LHS and RHS ranges respectively. We should see 15MiB extra tokens
66
66
-- deducted which comes from (2MiB+3MiB)*3=15MiB. So we stand at
67
67
-- 6MiB+15MiB=21MiB now.
68
-
SELECT
68
+
SELECT
69
69
name,
70
70
crdb_internal.humanize_bytes(value::INT8)
71
-
FROM
71
+
FROM
72
72
crdb_internal.node_metrics
73
-
WHERE
73
+
WHERE
74
74
name LIKE'%kvflowcontrol%tokens%'
75
75
ORDER BY
76
76
name ASC;
@@ -131,12 +131,12 @@ ORDER BY
131
131
-- from 4MiB*3=12MiB. So we stand at 21MiB+12MiB=33MiB tokens deducted now. The
132
132
-- RHS of the range is gone now, and the previously 3*3MiB=9MiB of tokens
133
133
-- deducted for it are released at the subsuming LHS leaseholder.
134
-
SELECT
134
+
SELECT
135
135
name,
136
136
crdb_internal.humanize_bytes(value::INT8)
137
-
FROM
137
+
FROM
138
138
crdb_internal.node_metrics
139
-
WHERE
139
+
WHERE
140
140
name LIKE'%kvflowcontrol%tokens%'
141
141
ORDER BY
142
142
name ASC;
@@ -189,12 +189,12 @@ ORDER BY
189
189
-- {regular,elastic} tokens returned, including those from:
0 commit comments