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

oplogs was lost in the last 5 days #160

Open
q96456 opened this issue Sep 7, 2020 · 1 comment
Open

oplogs was lost in the last 5 days #160

q96456 opened this issue Sep 7, 2020 · 1 comment

Comments

@q96456
Copy link

q96456 commented Sep 7, 2020

[1.primary oplog store 1year data,and last 5 day lost
2.all secondarys can‘t get oplog from primary,then rollback

the problem time is 2020-09-01T 08:03
log.tar.gz

@wolfkdy
Copy link
Collaborator

wolfkdy commented Apr 11, 2022

It is a percona-mongo-release v3.4.21-2.19 instance, which is built with rocksdb-5.7.3.
After some investigation to a problematic db instance, we found some sst-files are corrupted, some sst files in Ln(n>0) have overlapped ranges. which canbe related to facebook/rocksdb#2843 and referring issues.

It's suggested to build with rocksdb5.18.3, the latest and most stable version of rocksdb-5.x series.

This issue will be closed when all above is proven in production.

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

2 participants