Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
8e8bb8f
WIP
anton-vinogradov Apr 30, 2026
d7c9348
WIP
anton-vinogradov May 4, 2026
bac9529
WIP
anton-vinogradov May 4, 2026
2793feb
WIP
anton-vinogradov May 4, 2026
6d317df
WIP
anton-vinogradov May 4, 2026
802f7e1
WIP
anton-vinogradov May 4, 2026
7c5d2e1
WIP
anton-vinogradov May 4, 2026
05253c6
WIP
anton-vinogradov May 5, 2026
b2fe338
Merge remote-tracking branch 'origin/master' into ignite-28520
anton-vinogradov May 7, 2026
63110cd
WIP
anton-vinogradov May 7, 2026
880c9b7
WIP
anton-vinogradov May 7, 2026
e65ee21
WIP
anton-vinogradov May 7, 2026
01892b9
WIP
anton-vinogradov May 7, 2026
0774499
WIP
anton-vinogradov May 8, 2026
a87dcde
WIP
anton-vinogradov May 8, 2026
ee4c879
WIP
anton-vinogradov May 8, 2026
53036be
WIP
anton-vinogradov May 8, 2026
76802b7
WIP
anton-vinogradov May 8, 2026
854aeb8
WIP
anton-vinogradov May 8, 2026
049abc9
WIP
anton-vinogradov May 8, 2026
b95ccef
WIP
anton-vinogradov May 10, 2026
0c02ce6
WIP
anton-vinogradov May 10, 2026
0f87076
WIP
anton-vinogradov May 12, 2026
7aaa915
WIP
anton-vinogradov May 12, 2026
46df8f3
Merge remote-tracking branch 'origin/master' into ignite-28520
anton-vinogradov May 12, 2026
5737bcd
WIP
anton-vinogradov May 13, 2026
b59531f
WIP
anton-vinogradov May 14, 2026
95f9b90
WIP
anton-vinogradov May 14, 2026
9ef8a15
Merge remote-tracking branch 'origin/master' into ignite-28520
anton-vinogradov May 14, 2026
1b2d240
WIP
anton-vinogradov May 14, 2026
9f4b276
WIP
anton-vinogradov May 14, 2026
aecd605
Merge remote-tracking branch 'origin/master' into ignite-28520
anton-vinogradov May 18, 2026
1f7b0fc
WIP
anton-vinogradov May 18, 2026
bd9c1bc
WIP
anton-vinogradov May 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import org.apache.ignite.internal.util.typedef.internal.U;
import org.apache.ignite.lang.IgniteUuid;
import org.apache.ignite.plugin.extensions.communication.Message;
import org.apache.ignite.plugin.extensions.communication.MessageSerializer;

/**
*
Expand Down Expand Up @@ -184,8 +185,14 @@ public FailureProcessor failureProcessor() {
/** */
protected void prepareMarshal(Message msg) throws IgniteCheckedException {
try {
if (msg instanceof CalciteContextMarshallableMessage)
if (msg instanceof CalciteContextMarshallableMessage) {
((CalciteContextMarshallableMessage)msg).prepareMarshal(ctx);

MessageSerializer ser = ctx.gridIO().messageFactory().serializer(msg.directType());

if (ser != null)
ser.prepareMarshal(msg, ctx, null);
}
}
catch (Exception e) {
failureProcessor().process(new FailureContext(FailureType.CRITICAL_ERROR, e));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
import org.apache.ignite.internal.processors.cache.KeyCacheObject;
import org.apache.ignite.internal.processors.cache.version.GridCacheVersion;
import org.apache.ignite.internal.processors.query.calcite.exec.ExecutionContext;
import org.apache.ignite.plugin.extensions.communication.CacheIdAware;

/**
* Class to pass to remote nodes transaction changes.
Expand All @@ -38,7 +39,7 @@
* @see ExecutionContext#transactionChanges(int, int[], Function, Comparator)
* @see QueryStartRequest#queryTransactionEntries()
*/
public class QueryTxEntry implements CalciteContextMarshallableMessage {
public class QueryTxEntry implements CalciteContextMarshallableMessage, CacheIdAware {
/** Cache id. */
@Order(0)
int cacheId;
Expand Down Expand Up @@ -75,8 +76,8 @@ public QueryTxEntry(int cacheId, KeyCacheObject key, CacheObject val, GridCacheV
this.ver = ver;
}

/** @return Cache id. */
public int cacheId() {
/** {@inheritDoc} */
@Override public int cacheId() {
return cacheId;
}

Expand All @@ -97,12 +98,6 @@ public GridCacheVersion version() {

/** {@inheritDoc} */
@Override public void prepareMarshal(GridCacheSharedContext<?, ?> ctx) throws IgniteCheckedException {
CacheObjectContext coctx = ctx.cacheContext(cacheId).cacheObjectContext();

key.prepareMarshal(coctx);

if (val != null)
val.prepareMarshal(coctx);
}

/** {@inheritDoc} */
Expand Down
Loading