Skip to content

Conversation

lootek
Copy link

@lootek lootek commented Jun 21, 2022

This happens when write/read operations are done concurrently and the queue buffer file is rolled

This happens when write/read operations are done concurrently and the queue buffer file is rolled

filepath.Walk(tmpDir, func(path string, info fs.FileInfo, err error) error {
if strings.HasSuffix(path, ".bad") {
t.FailNow()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you also t.Logf() something here, like "found .bad chunk: ${path}"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure I can add this when I have some time but anyway this is just a draft PR not meant to be merged until the bug itself is fixed, it's a kinda TDD-approach to repro/prove there is a problem ;)

@mreiferson
Copy link
Member

see #41

@mreiferson mreiferson closed this May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants