-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
github.com/cockroachdb/pebble/internal/metamorphic: TestMetaTwoInstance failed #3894
Comments
@RaduBerinde probably a fallout of #3888 ? |
Hm.. looks like it could be golang/go#62203. I'll investigate in which Go versions that was fixed. |
No, that fix is part of all 1.22 releases. I'll see if I can reproduce. |
I can't figure out how this is even possible: for srcBmap != nil {
dstBmap, pos = moveToBmap(t, dst, dstBmap, pos, srcBmap)
func moveToBmap(t *maptype, h *hmap, dst *bmap, pos int, src *bmap) (*bmap, int) {
for i := 0; i < bucketCnt; i++ {
if isEmpty(src.tophash[i]) { <- null pointer here
// A bucket for a Go map.
type bmap struct {
// tophash generally contains the top byte of the hash value
// for each key in this bucket. If tophash[0] < minTopHash,
// tophash[0] is a bucket evacuation state instead.
tophash [bucketCnt]uint8 We check |
RaduBerinde
added a commit
to RaduBerinde/pebble
that referenced
this issue
Aug 28, 2024
Stop using `maps.Clone` because of golang/go#69110 Fixes cockroachdb#3894
RaduBerinde
added a commit
to RaduBerinde/pebble
that referenced
this issue
Aug 28, 2024
Stop using `maps.Clone` because of golang/go#69110 Fixes cockroachdb#3894
Managed to reproduce the Go issue: golang/go#69110 |
RaduBerinde
added a commit
that referenced
this issue
Aug 28, 2024
Stop using `maps.Clone` because of golang/go#69110 Fixes #3894
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
github.com/cockroachdb/pebble/internal/metamorphic.TestMetaTwoInstance failed with artifacts on refs/heads/master @ 34e929e1fcac:
Help
To reproduce, try:
This test on roachdash | Improve this report!
Jira issue: PEBBLE-252
The text was updated successfully, but these errors were encountered: