-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
server: TestGetTenantWeights failed #97350
Comments
This looks like storage / DR. @stevendanna @nicktrav wanna have a look? |
From the stack my guess is storage or kv might have the most fruitful first swing at this. |
I must have missed this. I'll have someone take a look. |
Possibly a double |
FWIW, just saw the same failure on a run of |
This looks like the individual |
@RaduBerinde could this possibly be introduced by cockroachdb/pebble#2267? |
So the hypothesis is that But in Pebble, the second Not sure if we can confirm that this is the issue. In any case we should fix it and make this more robust: have the deferred function set
Do we expect |
Opened cockroachdb/pebble#2380 |
`Close()` records any error encountered and exits early if called again. One of the return paths was not setting `w.err`, possibly causing the panic in github.com/cockroachdb/cockroach/issues/97350. This change fixes this and improves the structure of the function - instead of each exit path having to set `w.err`, we set it in the deferred function.
`Close()` records any error encountered and exits early if called again. One of the return paths was not setting `w.err`, possibly causing the panic in github.com/cockroachdb/cockroach/issues/97350. This change fixes this and improves the structure of the function - instead of each exit path having to set `w.err`, we set it in the deferred function.
e9a8c4ad sstable: fix error path in writer.Close fdf055dd db: improve documentation of tableNewIters 717cbce0 db: add Options.LoggerAndTracer for tracing 7751e381 objstorage: better Writable API 78c8001e db: add missing error check in TestIngestLoad 1334233b metamorphic: add unit test for Options propagation ed824c76 objstorage: rename ReadaheadHandle to ReadHandle Informs cockroachdb#97350. Release note: none Epic: none
e9a8c4ad sstable: fix error path in writer.Close fdf055dd db: improve documentation of tableNewIters 717cbce0 db: add Options.LoggerAndTracer for tracing 7751e381 objstorage: better Writable API 78c8001e db: add missing error check in TestIngestLoad 1334233b metamorphic: add unit test for Options propagation ed824c76 objstorage: rename ReadaheadHandle to ReadHandle The "better Writable API" changed the interface to write to SST files. This commit contains the required changes in Cockroach: MemFile is now MemObject and implements objstorage.Writable. There were many test places that were using MemFile as just an io.Writer; these are updated to just use bytes.Buffer. Informs cockroachdb#97350. Release note: none Epic: none
e9a8c4ad sstable: fix error path in writer.Close fdf055dd db: improve documentation of tableNewIters 717cbce0 db: add Options.LoggerAndTracer for tracing 7751e381 objstorage: better Writable API 78c8001e db: add missing error check in TestIngestLoad 1334233b metamorphic: add unit test for Options propagation ed824c76 objstorage: rename ReadaheadHandle to ReadHandle The "better Writable API" changed the interface to write to SST files. This commit contains the required changes in Cockroach: MemFile is now MemObject and implements objstorage.Writable. There were many test places that were using MemFile as just an io.Writer; these are updated to just use bytes.Buffer. Informs cockroachdb#97350. Release note: none Epic: none
e9a8c4ad sstable: fix error path in writer.Close fdf055dd db: improve documentation of tableNewIters 717cbce0 db: add Options.LoggerAndTracer for tracing 7751e381 objstorage: better Writable API 78c8001e db: add missing error check in TestIngestLoad 1334233b metamorphic: add unit test for Options propagation ed824c76 objstorage: rename ReadaheadHandle to ReadHandle The "better Writable API" changed the interface to write to SST files. This commit contains the required changes in Cockroach: MemFile is now MemObject and implements objstorage.Writable. There were many test places that were using MemFile as just an io.Writer; these are updated to just use bytes.Buffer. Informs cockroachdb#97350. Release note: none Epic: none
98078: go.mod: bump Pebble to e9a8c4ad65c5 r=RaduBerinde a=RaduBerinde e9a8c4ad sstable: fix error path in writer.Close fdf055dd db: improve documentation of tableNewIters 717cbce0 db: add Options.LoggerAndTracer for tracing 7751e381 objstorage: better Writable API 78c8001e db: add missing error check in TestIngestLoad 1334233b metamorphic: add unit test for Options propagation ed824c76 objstorage: rename ReadaheadHandle to ReadHandle Informs #97350. Release note: none Epic: none Co-authored-by: Radu Berinde <[email protected]>
Fixed by #98078. Verified by stress:
|
@jbowens Thanks for verifying!! |
server.TestGetTenantWeights failed with artifacts on master @ a9d4e7040c538aeaa0e0e049e5525e2569eb364b:
Fatal error:
Stack:
Log preceding fatal error
Parameters:
TAGS=bazel,gss
Help
See also: How To Investigate a Go Test Failure (internal)
This test on roachdash | Improve this report!
Jira issue: CRDB-24651
The text was updated successfully, but these errors were encountered: