Repository: ignite Updated Branches: refs/heads/ignite-426-2-reb 3df3af8a6 -> 4f263f0e1
IGNITE-426 Fixed tests. Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/4f263f0e Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/4f263f0e Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/4f263f0e Branch: refs/heads/ignite-426-2-reb Commit: 4f263f0e166fd1b2585a4c19c7d17802297ca564 Parents: 3df3af8 Author: nikolay_tikhonov <[email protected]> Authored: Fri Oct 23 19:19:48 2015 +0300 Committer: nikolay_tikhonov <[email protected]> Committed: Fri Oct 23 19:19:48 2015 +0300 ---------------------------------------------------------------------- .../cache/transactions/IgniteTxEntry.java | 23 +++++--------------- 1 file changed, 5 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/4f263f0e/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxEntry.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxEntry.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxEntry.java index 541ffae..b964916 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxEntry.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/transactions/IgniteTxEntry.java @@ -166,6 +166,10 @@ public class IgniteTxEntry implements GridPeerDeployAware, Message { @GridDirectTransient private boolean transferExpiryPlc; + /** Partition update index. */ + @GridDirectTransient + private long partIdx; + /** Expiry policy bytes. */ private byte[] expiryPlcBytes; @@ -175,9 +179,6 @@ public class IgniteTxEntry implements GridPeerDeployAware, Message { */ private byte flags; - /** Partition update index. */ - private long partIdx; - /** * Required by {@link Externalizable} */ @@ -919,12 +920,6 @@ public class IgniteTxEntry implements GridPeerDeployAware, Message { return false; writer.incrementState(); - - case 11: - if (!writer.writeLong("partIdx", partIdx)) - return false; - - writer.incrementState(); } return true; @@ -1026,14 +1021,6 @@ public class IgniteTxEntry implements GridPeerDeployAware, Message { reader.incrementState(); - case 11: - partIdx = reader.readLong("partIdx"); - - if (!reader.isLastRead()) - return false; - - reader.incrementState(); - } return reader.afterMessageRead(IgniteTxEntry.class); @@ -1046,7 +1033,7 @@ public class IgniteTxEntry implements GridPeerDeployAware, Message { /** {@inheritDoc} */ @Override public byte fieldsCount() { - return 12; + return 11; } /** {@inheritDoc} */
