-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Error recreating stream "MY": sequence numbers for cache load did not match, 16429458 vs 16429457 #2993
Comments
This on single server or a cluster? Is the replication factor if clustered 1 or like an R3? |
Single server. |
Any special about the storage directory? Is it a direct attached disk? Network? Where is the server running? Is it possible to try the nightly server and see if that is able to recreate? |
Can you show me whole startup log with -D flag? |
This is a VM with directly attached disk. There's no NFS/iSCSI.
|
Be interested if you could try the 2.8.0 beta from the top of main branch. If not and you are open to it you can send me just the MY stream as a gzipped tarball from the storage directory and I will try to figure out what happened. |
Should I build a blob by myself of I can download it somewhere? |
The system needs to recover a stream in order to use the system to create a compressed backup etc. So we will need to work with the directory for now. If you could tar it up and gzip or bzip2 it and send me an email with the link that would be great. We will see what we can do. |
OK, give me some time. |
Anything abnormal about the previous server shutdown? How was the server shutdown? |
Nats-server was shutted down correctly. But I saw in logs some messages about max opened files. There was 65k limit and I extend it to 1M. |
Ah.. Good to know.. Thanks. |
Check your email please. |
Which email? |
Ok not showing up yet but will keep and eye out. |
Maybe another email? |
I see it. Thanks. Might not be til tomorrow for me to take a look. What is the time sensitivity? |
It's a critical prod, but I'll wait. Thanks. |
This seems to be an issue of the system running out of file descriptors and corrupting the msg blks sequence numbers. |
I'm having the same problem, I just begin a few days ago to test nats. When I start the container, and later the program inside cmd folder everything looks good, I can see the message arriving to the consumer but in the logs appear this:
if I re-run the program the log in the server is
|
Got WRN "Error recreating stream "MY": sequence numbers for cache load did not match, 16429458 vs 16429457" after restarting JetStream (2.7.4).
Two questions:
The text was updated successfully, but these errors were encountered: