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

Data Loss Scenario: Consumer metadata causes Limits policy to drop messages on the floor #1883

Open
5 of 13 tasks
vigith opened this issue Jul 31, 2024 · 0 comments
Open
5 of 13 tasks
Labels
area/isb-jetstream Inter Step Buffer using JetStream bug Something isn't working opex Operational Excellence to make it easy to run in production and debug
Milestone

Comments

@vigith
Copy link
Member

vigith commented Jul 31, 2024

Describe the bug

Unprocessed == 0 while Stream seq in the stream metadata is moving ahead of the consumer seq number.

Consumer Metadata

Last Delivered Message: Consumer sequence: 221,160,045 Stream sequence: 264,153,054
    Acknowledgment Floor: Consumer sequence: 221,160,045 Stream sequence: 264,153,054
        Outstanding Acks: 0 out of maximum 25,000
    Redelivered Messages: 0
    Unprocessed Messages: 0

Stream Metadata

Messages: 100,000
                 Bytes: 670 MiB
        First Sequence: 226,498,356 @ 2024-07-31 18:05:40 UTC
         Last Sequence: 226,598,355 @ 2024-07-31 18:06:02 UTC

Metadata wrong even without OOM

js-stream-info

To Reproduce

It is yet to be figured out. This problem is seen only when we have OOMs on JetStream. The pipeline where we saw this problem was inserting 64MB messages at high TPS, causing OOMs.

Tasks

Preview Give feedback
  1. area/isb-jetstream
    kohlisid
  2. area/isb-jetstream opex
    kohlisid
  3. area/isb-jetstream opex
    RohanAshar
  4. area/isb opex wontfix
    whynowy
  5. opex
    kohlisid
  6. opex
    kohlisid
  7. opex
    kohlisid
  8. opex
    kohlisid
  9. opex
    RohanAshar
  10. area/sink bug
    yhl25
  11. area/isb area/isb-jetstream bug
@vigith vigith added the bug Something isn't working label Jul 31, 2024
@vigith vigith added this to the 1.3 milestone Jul 31, 2024
@vigith vigith changed the title Data Loss Scenario: Consumer metadata is corrupted causing Limits policy to drop on the floor Data Loss Scenario: Consumer metadata causes Limits policy to drop messages on the floor Jul 31, 2024
@vigith vigith added the opex Operational Excellence to make it easy to run in production and debug label Jul 31, 2024
@vigith vigith added the area/isb-jetstream Inter Step Buffer using JetStream label Jul 31, 2024
@vigith vigith pinned this issue Jul 31, 2024
@vigith vigith modified the milestones: 1.3, 1.4 Aug 19, 2024
@vigith vigith modified the milestones: 1.4, 1.5 Oct 31, 2024
@vigith vigith modified the milestones: 1.5, 1.6 Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/isb-jetstream Inter Step Buffer using JetStream bug Something isn't working opex Operational Excellence to make it easy to run in production and debug
Projects
None yet
Development

No branches or pull requests

2 participants