You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I generate a large amount of data using FasterKV (with the number of keys exceeding 300 million), and then save a checkpoint and load it again, an error occurs, and I can no longer recover the original data. What could be the issue?
Cleaning data ...
- Cleaning data done. (Elapsed: 2.66s)
Creating large data: size:300000000 ...
- Creating progress: 8333810/300000000 (2.78%) (Elapse: 6, Speed: 1388968.26 ops/s) ...
...
- Creating progress: 299706408/300000000 (99.90%) (Elapse: 2520, Speed: 118931.11 ops/s) ...
- Writing checkpoint ...
- Writing checkpoint done. (Elapsed: 76.84s)
- Store info: EntryCount: 300000000, IndexSize: 262144, overflowBucketCount: 42710337, memorySizeBytes: 7247757312, (Get info elapse: 16.72s)
- All done. (Elapsed: 2619.05s, Speed: 114545.54 ops/s)
Loading data and verify: size:300000000 ...
- Loading data done. (Elapsed: 0.85s)
- Store info: EntryCount: 1835008, IndexSize: 262144, overflowBucketCount: 42710337, memorySizeBytes: 67108864, (Get info elapse: 0.02s)
- Error: key 0 not found. (Status: NotFound) (ErrorCount: 0)
- Error: key 8532049 not found. (Status: NotFound) (ErrorCount: 8532049)
...
- Error: key 299672862 not found. (Status: NotFound) (ErrorCount: 299672862)
- Store info: EntryCount: 1835008, IndexSize: 262144, overflowBucketCount: 42710337, memorySizeBytes: 67108864, (Get info elapse: 0.01s)
- All done. (ErrorCount: 300000000, Elapsed: 175.54s, Speed: 1708998.12 ops/s)
Note: After restoring the data, the EntryCount is noticeably much lower, and all keys cannot be found. (If DataSize = 200000000, then it is normal, with no errors.)
The text was updated successfully, but these errors were encountered:
When I generate a large amount of data using FasterKV (with the number of keys exceeding 300 million), and then save a checkpoint and load it again, an error occurs, and I can no longer recover the original data. What could be the issue?
Here is the source code:
Run result:
Note: After restoring the data, the EntryCount is noticeably much lower, and all keys cannot be found. (If DataSize = 200000000, then it is normal, with no errors.)
The text was updated successfully, but these errors were encountered: