Skip to content

Commit d074bfd

Browse files
committed
Bug 36796618 - [36776743->24.03.1] Fix stream corruption error on rolling upgrade from 23.09 to any CE version
[git-p4: depot-paths = "//dev/coherence-ce/release/coherence-ce-v24.03/": change = 109970]
1 parent cf8a3c2 commit d074bfd

File tree

1 file changed

+4
-2
lines changed
  • prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/management/model/localModel

1 file changed

+4
-2
lines changed

prj/coherence-core-components/src/main/java/com/tangosol/coherence/component/net/management/model/localModel/StorageManagerModel.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -736,7 +736,8 @@ public void readExternal(java.io.DataInput in)
736736
}
737737

738738
// added in 14.1.2.0.0 / 26.06.7 / 23.09.1
739-
if (ExternalizableHelper.isVersionCompatible(in, VersionHelper.VERSION_14_1_2_0)
739+
if ((ExternalizableHelper.isVersionCompatible(in, VersionHelper.VERSION_14_1_2_0)
740+
&& !ExternalizableHelper.isVersionCompatible(in, VersionHelper.VERSION_23_09)) // exclude reading from 23.09 as it doesn't contain the attribute
740741
|| ExternalizableHelper.isPatchCompatible(in, VersionHelper.VERSION_14_1_1_2206_7)
741742
|| ExternalizableHelper.isPatchCompatible(in, VersionHelper.VERSION_23_09_1))
742743
{
@@ -934,7 +935,8 @@ public void writeExternal(java.io.DataOutput out)
934935
}
935936

936937
// added in 14.1.2.0.0 / 22.06.7 / 23.09.1
937-
if (ExternalizableHelper.isVersionCompatible(out, VersionHelper.VERSION_14_1_2_0)
938+
if ((ExternalizableHelper.isVersionCompatible(out, VersionHelper.VERSION_14_1_2_0)
939+
&& !ExternalizableHelper.isVersionCompatible(out, VersionHelper.VERSION_23_09)) // exclude writing to 23.09 as it doesn't contain the attribute
938940
|| ExternalizableHelper.isPatchCompatible(out, VersionHelper.VERSION_14_1_1_2206_7)
939941
|| ExternalizableHelper.isPatchCompatible(out, VersionHelper.VERSION_23_09_1))
940942
{

0 commit comments

Comments
 (0)