Skip to content

Commit

Permalink
[Java] Write message header before mark file header in the `cluster-m…
Browse files Browse the repository at this point in the history
…ark.dat` file to be able to use SBE features based on the `actingBlockLength` and `actingVersion`.
  • Loading branch information
vyazelenko committed Jan 15, 2025
1 parent 6095ed1 commit 3440bf0
Show file tree
Hide file tree
Showing 7 changed files with 653 additions and 109 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2021,11 +2021,7 @@ public String toString()
private void concludeMarkFile()
{
ClusterMarkFile.checkHeaderLength(
aeron.context().aeronDirectoryName(),
null,
null,
null,
null);
aeron.context().aeronDirectoryName(), null, null, null, null);

markFile.encoder()
.archiveStreamId(archiveContext.controlRequestStreamId())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4301,11 +4301,7 @@ private void concludeMarkFile()
final String aeronDirectory = aeron.context().aeronDirectoryName();
final String authenticatorClassName = authenticatorSupplier.getClass().getName();
ClusterMarkFile.checkHeaderLength(
aeronDirectory,
controlChannel(),
ingressChannel,
null,
authenticatorClassName);
aeronDirectory, controlChannel(), ingressChannel, null, authenticatorClassName);

markFile.encoder()
.archiveStreamId(archiveContext.controlRequestStreamId())
Expand Down
Loading

0 comments on commit 3440bf0

Please sign in to comment.