Skip to content

Fix incorrect assertion during writing to StorageKafka#27885

Merged
qoega merged 2 commits intoClickHouse:masterfrom
azat:kafka-write-assert
Aug 20, 2021
Merged

Fix incorrect assertion during writing to StorageKafka#27885
qoega merged 2 commits intoClickHouse:masterfrom
azat:kafka-write-assert

Conversation

@azat
Copy link
Copy Markdown
Member

@azat azat commented Aug 19, 2021

Changelog category (leave one):

  • Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
Fix incorrect assertion during writing to StorageKafka

Detailed description / Documentation draft:
The problem it does not triggered in CI always because buffers was not
destroyed by that time.

Fixes: #26547
Fixes: #27820
Introduced-in: #19886
Cc: @filimonov

NOTE: should be marked as do not backport since assertion is only in debug builds

The problem it does not triggered in CI always because buffers was not
destroyed by that time.

Fixes: ClickHouse#26547
@robot-clickhouse robot-clickhouse added the pr-bugfix Pull request with bugfix, not backported by default label Aug 19, 2021
@filimonov
Copy link
Copy Markdown
Contributor

The same for rabbit

@kitaisreal kitaisreal self-assigned this Aug 20, 2021
@qoega qoega merged commit 624cb43 into ClickHouse:master Aug 20, 2021
@alexey-milovidov
Copy link
Copy Markdown
Member

@kitaisreal Does it fix #27820?

@robot-clickhouse robot-clickhouse added pr-improvement Pull request with some product improvements and removed pr-bugfix Pull request with bugfix, not backported by default labels Aug 21, 2021
@azat
Copy link
Copy Markdown
Member Author

azat commented Aug 21, 2021

@kitaisreal Does it fix #27820?

Yes, this patch should fix it (updated commit description to reflect this).
Now (after #27934) such errors will be catched always (not from time-to-time).

@azat azat deleted the kafka-write-assert branch August 23, 2021 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-improvement Pull request with some product improvements pr-no-backport

Projects

None yet

Development

Successfully merging this pull request may close these issues.

~WriteBufferToRabbitMQProducer Assertion `rows == 0 && chunks.empty()' failed. Assertion failure writing to kafka

6 participants