Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIXED] FileStore: index file may be recreated with wrong offsets
This could happen if recovery of an index does not have matching information with the last message in corresponding ".dat" file. In that case, the server wipes the index file and recreate it based on the data file. However, the offset was not reset, which means that the index file would contain wrong offsets. Resolves #1086 Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
- Loading branch information
Showing
2 changed files
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters