We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Because of a typo in this line: https://github.com/real-logic/aeron/blob/b55b005d6210f0622585793d8f80ef1a5488db6c/aeron-archive/src/main/java/io/aeron/archive/Archive.java#L756 one may get the same filename for different recordingId and segmentIndex pair. E.g. recordingId=1, segmentIndex=2 and recordingId=2,segmentIndex=1 gives you the same filename.
Solution is to replace single quotes with double quotes, so the line looks like:
return recordingId + "-" + segmentIndex + Configuration.RECORDING_SEGMENT_POSTFIX;
I believe this is what it was intended to be.
The text was updated successfully, but these errors were encountered:
[Java] Fix segment filename generation in Archive. Issue #414.
7f9f877
Thanks. Yes you are correct. I've pushed a fix.
Sorry, something went wrong.
No branches or pull requests
Because of a typo in this line:
https://github.com/real-logic/aeron/blob/b55b005d6210f0622585793d8f80ef1a5488db6c/aeron-archive/src/main/java/io/aeron/archive/Archive.java#L756
one may get the same filename for different recordingId and segmentIndex pair. E.g. recordingId=1, segmentIndex=2 and recordingId=2,segmentIndex=1 gives you the same filename.
Solution is to replace single quotes with double quotes, so the line looks like:
I believe this is what it was intended to be.
The text was updated successfully, but these errors were encountered: