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

POSITION SET EARLIEST fails on empty ring #64

Open
crotwell opened this issue Dec 16, 2024 · 0 comments
Open

POSITION SET EARLIEST fails on empty ring #64

crotwell opened this issue Dec 16, 2024 · 0 comments

Comments

@crotwell
Copy link

THis is probably a rare condition, but for a empty, new ringserver, a client sending this is ok and will start getting data once it begins flowing:

MATCH FDSN:CO_.*
STREAM

but this fails with ERROR: Error positioning reader:

MATCH FDSN:CO_.*
POSITION SET EARLIEST
STREAM

Seems like POSITION SET EARLIEST should cause no harm even on an empty ring.

Use case is that you want to start the consumer immediately after starting ring which may be before the producer has sent any data.

Similar issue for POSITION SET LATEST

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

No branches or pull requests

1 participant