Skip to content

Commit

Permalink
IGNITE-24168 Fixed performance drop caused by IGNITE-22375 (#11797)
Browse files Browse the repository at this point in the history
  • Loading branch information
NSAmelchev authored Jan 13, 2025
1 parent 33315e7 commit 8ee63d7
Showing 1 changed file with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -699,14 +699,22 @@ public void writeIgniteUuid(IgniteUuid val) {
uuidState++;

case 1:
writeUuidRaw(val.globalId());
writeLong(val.globalId().getMostSignificantBits());

if (!lastFinished)
return;

uuidState++;

case 2:
writeLong(val.globalId().getLeastSignificantBits());

if (!lastFinished)
return;

uuidState++;

case 3:
writeLong(val.localId());

if (!lastFinished)
Expand Down Expand Up @@ -1249,14 +1257,22 @@ public IgniteUuid readIgniteUuid() {
uuidState++;

case 1:
readUuidRaw();
uuidMost = readLong();

if (!lastFinished)
return null;

uuidState++;

case 2:
uuidLeast = readLong();

if (!lastFinished)
return null;

uuidState++;

case 3:
uuidLocId = readLong();

if (!lastFinished)
Expand Down

0 comments on commit 8ee63d7

Please sign in to comment.