roachtest: port rebalance/by-load/*/mixed-version to new framework#115559
Conversation
`ts_util.go` provides helper functions for querying the cluster timeseries database over http. These methods previously made use of `httputil.PostJSON` for requesting timeseries. This commit updates to use `httputil.PostProtobuf`, in order to allow ignoring optional fields when the server doesn't support them; namely `TenantID`. Epic: none Release note: None
ea43a13 to
6a3e45e
Compare
Passes remote run
|
6a3e45e to
bf85d3a
Compare
nvb
left a comment
There was a problem hiding this comment.
Reviewed 4 of 4 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status:complete! 1 of 0 LGTMs obtained (waiting on @herkolategan, @kvoli, and @srosenberg)
-- commits line 16 at r3:
nit: missing space between Port and `rebalance/...
pkg/cmd/roachtest/tests/rebalance_load.go line 249 at r3 (raw file):
require.NoError(t, WaitFor3XReplication(ctx, t, db)) var m *errgroup.Group // see comment in version.go
What comment is this referring to?
Port `rebalance/by-load/leases/mixed-version` and `rebalance/by-load/replicas/mixed-version` to the new mixed-version framework as described in cockroachdb#110528. Part of: cockroachdb#110528 Resolves: cockroachdb#115134 Resolves: cockroachdb#115135 Release note: None
bf85d3a to
55e2d6f
Compare
kvoli
left a comment
There was a problem hiding this comment.
TYFTR
Reviewable status:
complete! 0 of 0 LGTMs obtained (and 1 stale) (waiting on @herkolategan, @nvanbenschoten, and @srosenberg)
Previously, nvanbenschoten (Nathan VanBenschoten) wrote…
nit: missing space between Port and `rebalance/...
Added a space here.
pkg/cmd/roachtest/tests/rebalance_load.go line 249 at r3 (raw file):
Previously, nvanbenschoten (Nathan VanBenschoten) wrote…
What comment is this referring to?
Comes from 094bf14.
Probably referring to deficiency of monitors for workload runners (5 years ago)?
cockroach/pkg/cmd/roachtest/version.go
Line 101 in 094bf14
I removed the comment here, but will leave the errgroup to not shuffle around too much in this PR.
|
TYFTR bors r=nvanbenschoten |
|
Build succeeded: |
|
Encountered an error creating backports. Some common things that can go wrong:
You might need to create your backport manually using the backport tool. error creating merge commit from dc8c484 to blathers/backport-release-23.2-115559: POST https://api.github.com/repos/cockroachdb/cockroach/merges: 409 Merge conflict [] you may need to manually resolve merge conflicts with the backport tool. Backport to branch 23.2.x failed. See errors above. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf. |
|
👋 backport reminder -- would be nice to have this in 23.2 and even in 23.1 if applicable. |
Port
rebalance/by-load/leases/mixed-versionandrebalance/by-load/replicas/mixed-versionto the new mixed-versionframework as described in #110528.
Part of: #110528
Resolves: #115134
Resolves: #115135
Release note: None
ts_util.goprovides helper functions for querying the clustertimeseries database over http. These methods previously made use of
httputil.PostJSONfor requesting timeseries. This commit updates touse
httputil.PostProtobuf, in order to allow ignoring optional fieldswhen the server doesn't support them; namely
TenantID.Epic: none
Release note: None