-
Notifications
You must be signed in to change notification settings - Fork 610
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
add notification about close reader #13368
add notification about close reader #13368
Conversation
⚪ Test history | Ya make output | Test bloat
🟢 |
⚪ Test history | Ya make output | Test bloat
🟢 |
✅ Documentation buildRevision built successfully |
Co-authored-by: anton-bobkov <anton-bobkov@ydb.tech>
Co-authored-by: anton-bobkov <anton-bobkov@ydb.tech>
Co-authored-by: anton-bobkov <anton-bobkov@ydb.tech>
Co-authored-by: anton-bobkov <anton-bobkov@ydb.tech>
Co-authored-by: anton-bobkov <anton-bobkov@ydb.tech>
Co-authored-by: anton-bobkov <anton-bobkov@ydb.tech>
Co-authored-by: anton-bobkov <anton-bobkov@ydb.tech>
Co-authored-by: anton-bobkov <anton-bobkov@ydb.tech>
⚪ Test history | Ya make output | Test bloat
🟢 |
⚪ Test history | Ya make output | Test bloat
🟢 |
@@ -1382,6 +1382,8 @@ If a commit fails with an error, the application should log it and continue; it | |||
} | |||
``` | |||
|
|||
The `Commit` call is fast by default, saving data into an internal buffer and returning control back to the caller. The real message to the server is sent in the background. To prevent losing the last commits, you should call the `Reader.Close()` method before exiting the program. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's also explain what people are supposed to do to guarantee that messages are not lost even if the client is abruptly terminated due to OOM, segfault, etc., and can't catch it to close the connection explicitly.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is reader description and messes stored on a server already. If a process will be killed before commit a message - the message will resend to other reader by server. The client does not have to do anything for this.
@@ -1451,6 +1455,8 @@ If a commit fails with an error, the application should log it and continue; it | |||
} | |||
``` | |||
|
|||
The `Commit` call is fast by default, saving data into an internal buffer and returning control back to the caller. The real message to the server is sent in the background. To prevent losing the last commits, you should call the `Reader.Close()` method before exiting the program. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We'd better make it an {% include %}
file instead of copypaste.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It has two paragraph and two copy of each in one file. I need two additional files and four include options for deduplicate of them. The paragraph doesn't need in other files and replace the text to include option make read the text difficult when read it.
I think about small copy-paste better, then a lot of small files and combine them by includes.
Co-authored-by: Ivan Blinkov <ivan@blinkov.ru>
⚪ Test history | Ya make output | Test bloat
|
Co-authored-by: Ivan Blinkov <ivan@blinkov.ru>
✅ Documentation buildRevision built successfully |
✅ Documentation buildRevision built successfully |
⚪ Test history | Ya make output | Test bloat
🟢 |
⚪ Test history | Ya make output | Test bloat
🟢 |
Co-authored-by: anton-bobkov <anton-bobkov@ydb.tech> Co-authored-by: Ivan Blinkov <ivan@ydb.tech>
Co-authored-by: anton-bobkov <anton-bobkov@ydb.tech> Co-authored-by: Ivan Blinkov <ivan@ydb.tech>
Changelog entry
...
Changelog category
Additional information
...