Skip to content

Commit 84e0455

Browse files
committed
debug512
1 parent 3767f41 commit 84e0455

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

modules/core/src/main/java/org/apache/ignite/internal/processors/cache/persistence/snapshot/IncrementalSnapshotVerifyResult.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,15 @@ public void txHashResBytes(byte[] txHashResBytes) {
143143
System.out.println("--> Failed to unmarshal transaction hash res: ");
144144
e.printStackTrace();
145145
try {
146-
byte[] bytes = new byte[0];
147-
System.out.println("MY ERROR");
146+
System.out.println("MY ERROR 3");
148147
System.out.println("1 txHashRes=" + txHashRes);
149148
System.out.println("2 txHashRes.getClass()=" + txHashRes.getClass());
150149
System.out.println("3 txHashRes.size=" + txHashRes.size());
151150
System.out.println("MY bytes l=" + txHashResBytes.length + " bytes=" + Arrays.toString(txHashResBytes));
152151
System.out.println("MY 4=" + ToStringBuilder.reflectionToString(txHashRes, new MultilineRecursiveToStringStyle()));
153152

154153
HashMap<Object, Object> m = new HashMap<>();
155-
bytes = U.marshal(jdk(), m);
154+
byte[] bytes = U.marshal(jdk(), m);
156155
U.unmarshal(jdk(), bytes, U.gridClassLoader());
157156
System.out.println("MY bytes EMPTY NEW l=" + bytes.length + " bytes=" + Arrays.toString(bytes));
158157
System.out.println("MY 4=" + ToStringBuilder.reflectionToString(m, new MultilineRecursiveToStringStyle()));

0 commit comments

Comments
 (0)