Skip to content

Fix ENOENT exception on current_batch.txt in DirectoryMonitor#10865

Merged
alesapin merged 1 commit intoClickHouse:masterfrom
azat:dist-dir-mon-fix
May 15, 2020
Merged

Fix ENOENT exception on current_batch.txt in DirectoryMonitor#10865
alesapin merged 1 commit intoClickHouse:masterfrom
azat:dist-dir-mon-fix

Conversation

@azat
Copy link
Copy Markdown
Member

@azat azat commented May 12, 2020

Changelog category (leave one):

  • Non-significant (changelog entry is not required)

current_batch.txt will not exist if there was no send, this is the case
when all batches that was pending has been marked as pending.

current_batch.txt will not exist if there was no send, this is the case
when all batches that was pending has been marked as pending.
@blinkov blinkov added the pr-not-for-changelog This PR should not be mentioned in the changelog label May 12, 2020
@qoega
Copy link
Copy Markdown
Member

qoega commented May 13, 2020

Is there a way to add a test for this scenario(all batches pending)

@azat
Copy link
Copy Markdown
Member Author

azat commented May 13, 2020

Looks like to tiny for the integration test (and there was no harm, just a noise in logs)

@alesapin alesapin merged commit 97c2e54 into ClickHouse:master May 15, 2020
@azat azat deleted the dist-dir-mon-fix branch May 15, 2020 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-not-for-changelog This PR should not be mentioned in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants