Skip to content

Commit

Permalink
[Java] Cleanup after #1705.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyazelenko committed Jan 8, 2025
1 parent 0d67762 commit 2f95209
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ else if (SemanticVersion.major(version) != MAJOR_VERSION)

final ClusterComponentType existingType = headerDecoder.componentType();

if (existingType != ClusterComponentType.NONE && existingType != type)
if (existingType != ClusterComponentType.UNKNOWN && existingType != type)
{
if (existingType != ClusterComponentType.BACKUP || ClusterComponentType.CONSENSUS_MODULE != type)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<sbe:messageSchema xmlns:sbe="http://fixprotocol.io/2016/sbe"
package="io.aeron.cluster.codecs.mark"
id="110"
version="1"
version="2"
semanticVersion="5.4"
description="Codecs for Mark file of an Aeron Cluster."
byteOrder="littleEndian">
Expand All @@ -23,7 +23,7 @@
</composite>
<type name="time_t" primitiveType="int64" description="Epoch time in milliseconds since 1 Jan 1970 UTC."/>
<enum name="ClusterComponentType" encodingType="int32" description="Type of Cluster Component">
<validValue name="NONE">0</validValue>
<validValue name="UNKNOWN">0</validValue>
<validValue name="CONSENSUS_MODULE">1</validValue>
<validValue name="CONTAINER">2</validValue>
<validValue name="BACKUP">3</validValue>
Expand Down

0 comments on commit 2f95209

Please sign in to comment.