-
Notifications
You must be signed in to change notification settings - Fork 899
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
Feature/recording log version #1647
base: master
Are you sure you want to change the base?
Conversation
6d59038
to
7c3504b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor comments left.
One thing that occurs to me is an entry type of NULL_VALUE could be used with one of the other fields used to store the version.
aeron-cluster/src/test/java/io/aeron/cluster/RecordingLogVersioningTest.java
Outdated
Show resolved
Hide resolved
@mikeb01 do you want this feature to be merged as part of 1.47.0? |
No, does not need to be. |
Because the RecordingLog file doesn't contain a header, we need to introduce a marker value (magic number) so that we can distinguish between the files with versioning and those without. This will check for that value and if not present will migrate the recording to the new structure (which includes a header that has a version field).