-
-
Notifications
You must be signed in to change notification settings - Fork 1
feat: add buffer flush after to subscription #1
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
Draft
yordis
wants to merge
24
commits into
main
Choose a base branch
from
yordis/batch-timeout
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
ea52a3b
Remove reference to `elixir_uuid` package
san650 4fb4a65
Fix warnings over deprecated comment syntax
joeljuca efe2360
Merge pull request #311 from joeljuca/fix/warnings-over-comments
drteeth ccf2726
Merge pull request #310 from san650/update-documentation-typo
drteeth 94fb5fb
Merge branch 'master' of github.com:straw-hat-team/eventstore
yordis e2eeaf3
feat: add buffer flush after to subscription
yordis dd7fe79
Enhance documentation for buffer flush handling in SubscriptionFsm an…
yordis fb711bd
Refactor buffer timer management in SubscriptionState and Subscriptio…
yordis c19e5eb
docs: add buffer_flush_after option to Subscriptions guide
yordis 7cf0c1e
fix: prevent event loss in buffer_flush_after when subscriber at capa…
yordis 2b4ca1e
test: add comprehensive correctness tests for buffer_flush_after
yordis 555bb9d
docs: add comprehensive test coverage summary
yordis 7caa4ad
test: add invariant-based and edge case tests for buffer_flush_after
yordis 14d983b
test: add 58 advanced correctness tests for buffer_flush_after reachi…
yordis 6d655a3
fix: handle flush_buffer in catching_up and request_catch_up states
yordis 761fecd
remove
yordis 0261d8e
asd
yordis ae906f5
asd
yordis e2288be
style: format code
yordis 16b8717
fix: remove duplicate flush_buffer handler and dead catch_up cast
yordis 4498ea9
chore: upgrade to Elixir 1.19/OTP 27
yordis 6799dd3
refactor: improve test assertions for subscription buffer
yordis 5f0b529
ad
yordis f6767f2
asda
yordis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,2 @@ | ||
| elixir 1.16.0-otp-26 | ||
| erlang 26.2.1 | ||
| elixir 1.19-otp-27 | ||
| erlang 27.3.2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Add language tags to fenced blocks (MD040).
Lines 428, 435, and 456 contain fenced blocks without a language specifier; markdownlint flags these. Please add a language such as
textfor non-code diagrams.🔧 Suggested fix
T=0s: All events buffered
T=5s: Stream-B timer fires → Event
#102sent to subscriberT=5.1s: Stream-A timer fires → Events
#100,#101,#104sentT=10s: Stream-C timer fires → Event
#103sentVerify each finding against the current code and only fix it if needed.
In
@guides/Subscriptions.mdaround lines 355 - 529, Three fenced code blocks(the stream list block under "The Flow", the per-partition timer timeline, and
the checkpoint advances list) are missing language tags; add a language
specifier such as
textto each of those triple-backtick fences (the blocksshowing "Stream-A: Event
#100..." , "T=0s: All events buffered..." , and "AfterACK 102: Checkpoint cannot advance...") so markdownlint MD040 is satisfied.