Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.1.0
Description
Currently, incremental REPL DUMP use $dumpdir/<eventID> to dump the metadata and data files corresponding to the event. The event is dumped in the same sequence in which it was generated.
Now, REPL LOAD, lists the directories inside $dumpdir using listStatus and sort it using compareTo algorithm of FileStatus class which doesn't check the length before sorting it alphabetically.
Due to this, the event-100 is processed before event-99 and hence making the replica database non-sync with source.
Need to use a customized compareTo algorithm to sort the FileStatus.
Attachments
Attachments
Issue Links
- links to