Skip to content
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 note about duplicate entries in subscription queue #4286

Merged
merged 2 commits into from Mar 6, 2019

Conversation

ramonsmits
Copy link
Member

@ramonsmits ramonsmits self-assigned this Mar 6, 2019
@ramonsmits ramonsmits requested a review from dvdstelt March 6, 2019 09:16
Copy link
Member

@mauroservienti mauroservienti left a comment

Choose a reason for hiding this comment

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

What do you think of this minor improvement @ramonsmits?

@@ -7,7 +7,9 @@ related:
- samples/msmq/persistence
---

Note: The subscription queue can contain duplicate entries and is by design. This does not result in events to be published multiple times. After a publisher restarts the subscription queue state will be rewritten and deduplicated.
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Note: The subscription queue can contain duplicate entries and is by design. This does not result in events to be published multiple times. After a publisher restarts the subscription queue state will be rewritten and deduplicated.
Note: The subscription queue can contain duplicate entries and is by design. This does not result in events to be published multiple times as publishers deduplicates at publishing time. Each time a publisher is restarted the subscription queue state will be rewritten and deduplicated.

Copy link
Member Author

Choose a reason for hiding this comment

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

@mauroservienti it is incorrect, it doesn't dedupe during publishing, it dedupes during reading the subscriptions and when receiving a subscription request from a subscriber. Let me see if I can rewrite.

Copy link
Member

@dvdstelt dvdstelt left a comment

Choose a reason for hiding this comment

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

I'm fine with either solution.

Copy link
Member

@mauroservienti mauroservienti left a comment

Choose a reason for hiding this comment

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

it's still not really clear to me, but I'm happy with the change anyway.

@ramonsmits ramonsmits merged commit 1c870e7 into master Mar 6, 2019
@ramonsmits ramonsmits deleted the msmq-persistence-storage-duplicates branch March 6, 2019 13:25
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.

None yet

3 participants