Skip to content

Commit 6377254

Browse files
authored
IGNITE-28542 : Revise the schema-aware messages serialization (#13026)
1 parent 323f05a commit 6377254

1 file changed

Lines changed: 51 additions & 51 deletions

File tree

modules/core/src/main/java/org/apache/ignite/internal/CoreMessagesProvider.java

Lines changed: 51 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -434,73 +434,73 @@ public CoreMessagesProvider(Marshaller schemaAwareMarhaller, Marshaller schemaLe
434434
withNoSchema(ClientCacheChangeDummyDiscoveryMessage.class);
435435
withNoSchemaResolvedClassLoader(DynamicCacheChangeBatch.class);
436436

437-
// [10000 - 10200]: Transaction and lock related messages. Most of the originally comes from Communication.
437+
// [10000 - 10200]: Transaction and lock related messages. Most of them originally comes from Communication.
438438
msgIdx = 10000;
439439
withNoSchema(TxInfo.class);
440-
withNoSchema(TxEntriesInfo.class);
440+
withSchema(TxEntriesInfo.class);
441441
withNoSchema(TxLock.class);
442-
withNoSchema(TxLocksRequest.class);
443-
withNoSchema(TxLocksResponse.class);
444-
withNoSchema(IgniteTxKey.class);
445-
withNoSchema(IgniteTxEntry.class);
446-
withNoSchema(TxEntryValueHolder.class);
442+
withSchema(TxLocksRequest.class);
443+
withSchema(TxLocksResponse.class);
444+
withSchema(IgniteTxKey.class);
445+
withSchema(IgniteTxEntry.class);
446+
withSchema(TxEntryValueHolder.class);
447447
withNoSchema(GridCacheTxRecoveryRequest.class);
448448
withNoSchema(GridCacheTxRecoveryResponse.class);
449449
withNoSchema(GridDistributedTxFinishRequest.class);
450450
withNoSchema(GridDistributedTxFinishResponse.class);
451-
withNoSchema(GridDistributedTxPrepareRequest.class);
451+
withSchema(GridDistributedTxPrepareRequest.class);
452452
withNoSchema(GridDistributedTxPrepareResponse.class);
453453
withNoSchema(GridDhtTxFinishRequest.class);
454-
withNoSchema(GridDhtTxFinishResponse.class);
455-
withNoSchema(GridDhtTxPrepareRequest.class);
456-
withNoSchema(GridDhtTxPrepareResponse.class);
454+
withSchema(GridDhtTxFinishResponse.class);
455+
withSchema(GridDhtTxPrepareRequest.class);
456+
withSchema(GridDhtTxPrepareResponse.class);
457457
withNoSchema(GridNearTxFinishRequest.class);
458458
withNoSchema(GridNearTxFinishResponse.class);
459459
withNoSchema(GridNearTxPrepareRequest.class);
460-
withNoSchema(GridNearTxPrepareResponse.class);
461-
withNoSchema(GridDhtLockRequest.class);
462-
withNoSchema(GridDhtLockResponse.class);
463-
withNoSchema(GridDhtUnlockRequest.class);
460+
withSchema(GridNearTxPrepareResponse.class);
461+
withSchema(GridDhtLockRequest.class);
462+
withSchema(GridDhtLockResponse.class);
463+
withSchema(GridDhtUnlockRequest.class);
464464
withNoSchema(GridNearLockRequest.class);
465465
withNoSchema(GridNearLockResponse.class);
466-
withNoSchema(GridNearUnlockRequest.class);
467-
withNoSchema(GridDistributedLockRequest.class);
468-
withNoSchema(GridDistributedLockResponse.class);
466+
withSchema(GridNearUnlockRequest.class);
467+
withSchema(GridDistributedLockRequest.class);
468+
withSchema(GridDistributedLockResponse.class);
469469
withNoSchema(GridDhtTxOnePhaseCommitAckRequest.class);
470-
withNoSchema(TransactionAttributesAwareRequest.class);
470+
withSchema(TransactionAttributesAwareRequest.class);
471471

472472
// [10300 - 10500]: Cache, DHT messages.
473473
msgIdx = 10300;
474-
withNoSchema(GridDhtForceKeysRequest.class);
475-
withNoSchema(GridDhtForceKeysResponse.class);
474+
withSchema(GridDhtForceKeysRequest.class);
475+
withSchema(GridDhtForceKeysResponse.class);
476476
withNoSchema(GridDhtAtomicDeferredUpdateResponse.class);
477-
withNoSchema(GridDhtAtomicUpdateRequest.class);
478-
withNoSchema(GridDhtAtomicUpdateResponse.class);
479-
withNoSchema(GridNearAtomicFullUpdateRequest.class);
480-
withNoSchema(GridDhtAtomicSingleUpdateRequest.class);
481-
withNoSchema(GridNearAtomicUpdateResponse.class);
482-
withNoSchema(GridNearAtomicSingleUpdateRequest.class);
483-
withNoSchema(GridNearAtomicSingleUpdateInvokeRequest.class);
484-
withNoSchema(GridNearAtomicSingleUpdateFilterRequest.class);
477+
withSchema(GridDhtAtomicUpdateRequest.class);
478+
withSchema(GridDhtAtomicUpdateResponse.class);
479+
withSchema(GridNearAtomicFullUpdateRequest.class);
480+
withSchema(GridDhtAtomicSingleUpdateRequest.class);
481+
withSchema(GridNearAtomicUpdateResponse.class);
482+
withSchema(GridNearAtomicSingleUpdateRequest.class);
483+
withSchema(GridNearAtomicSingleUpdateInvokeRequest.class);
484+
withSchema(GridNearAtomicSingleUpdateFilterRequest.class);
485485
withNoSchema(GridNearAtomicCheckUpdateRequest.class);
486-
withNoSchema(NearCacheUpdates.class);
487-
withNoSchema(GridNearGetRequest.class);
488-
withNoSchema(GridNearGetResponse.class);
489-
withNoSchema(GridNearSingleGetRequest.class);
490-
withNoSchema(GridNearSingleGetResponse.class);
486+
withSchema(NearCacheUpdates.class);
487+
withSchema(GridNearGetRequest.class);
488+
withSchema(GridNearGetResponse.class);
489+
withSchema(GridNearSingleGetRequest.class);
490+
withSchema(GridNearSingleGetResponse.class);
491491
withNoSchema(GridDhtAtomicNearResponse.class);
492-
withNoSchema(GridCacheTtlUpdateRequest.class);
493-
withNoSchema(GridCacheReturn.class);
494-
withNoSchema(GridCacheEntryInfo.class);
495-
withNoSchema(CacheInvokeDirectResult.class);
492+
withSchema(GridCacheTtlUpdateRequest.class);
493+
withSchema(GridCacheReturn.class);
494+
withSchema(GridCacheEntryInfo.class);
495+
withSchema(CacheInvokeDirectResult.class);
496496
withNoSchema(GridCacheRawVersionedEntry.class);
497-
withNoSchema(CacheEvictionEntry.class);
498-
withNoSchema(CacheEntryPredicateAdapter.class);
497+
withSchema(CacheEvictionEntry.class);
498+
withSchema(CacheEntryPredicateAdapter.class);
499499
withNoSchema(GridContinuousMessage.class);
500500
withNoSchema(ContinuousRoutineStartResultMessage.class);
501-
withNoSchema(UpdateErrors.class);
501+
withSchema(UpdateErrors.class);
502502
withNoSchema(LatchAckMessage.class);
503-
withNoSchema(AtomicApplicationAttributesAwareRequest.class);
503+
withSchema(AtomicApplicationAttributesAwareRequest.class);
504504
withNoSchema(StartRequestData.class);
505505
withNoSchema(StartRoutineDiscoveryMessage.class);
506506
withNoSchema(StartRoutineAckDiscoveryMessage.class);
@@ -523,7 +523,7 @@ public CoreMessagesProvider(Marshaller schemaAwareMarhaller, Marshaller schemaLe
523523
withNoSchema(GridDhtPartitionExchangeId.class);
524524
withNoSchema(GridCheckpointRequest.class);
525525
withNoSchema(GridDhtPartitionDemandMessage.class);
526-
withNoSchema(GridDhtPartitionSupplyMessage.class);
526+
withSchema(GridDhtPartitionSupplyMessage.class);
527527
withNoSchema(GridDhtPartitionsFullMessage.class);
528528
withNoSchema(GridDhtPartitionsSingleMessage.class);
529529
withNoSchema(GridDhtPartitionsSingleRequest.class);
@@ -540,8 +540,8 @@ public CoreMessagesProvider(Marshaller schemaAwareMarhaller, Marshaller schemaLe
540540
withNoSchema(SchemaFinishDiscoveryMessage.class);
541541
withNoSchema(QueryField.class);
542542
withNoSchema(GridCacheSqlQuery.class);
543-
withNoSchema(GridCacheQueryRequest.class);
544-
withNoSchema(GridCacheQueryResponse.class);
543+
withSchema(GridCacheQueryRequest.class);
544+
withSchema(GridCacheQueryResponse.class);
545545
withNoSchema(GridQueryCancelRequest.class);
546546
withNoSchema(GridQueryFailResponse.class);
547547
withNoSchema(GridQueryNextPageRequest.class);
@@ -558,7 +558,7 @@ public CoreMessagesProvider(Marshaller schemaAwareMarhaller, Marshaller schemaLe
558558
withNoSchema(StatisticsRequest.class);
559559
withNoSchema(StatisticsResponse.class);
560560
withNoSchema(CacheContinuousQueryBatchAck.class);
561-
withNoSchema(CacheContinuousQueryEntry.class);
561+
withSchema(CacheContinuousQueryEntry.class);
562562

563563
// [11200 - 11300]: Compute, distributed process messages.
564564
msgIdx = 11200;
@@ -579,18 +579,18 @@ public CoreMessagesProvider(Marshaller schemaAwareMarhaller, Marshaller schemaLe
579579
withNoSchema(NodeIdMessage.class);
580580
withNoSchema(HandshakeMessage.class);
581581
withNoSchema(HandshakeWaitMessage.class);
582-
withNoSchema(GridIoMessage.class);
582+
withSchema(GridIoMessage.class);
583583
withNoSchema(IgniteIoTestMessage.class);
584-
withNoSchema(GridIoUserMessage.class);
585-
withNoSchema(GridIoSecurityAwareMessage.class);
584+
withSchema(GridIoUserMessage.class);
585+
withSchema(GridIoSecurityAwareMessage.class);
586586
withNoSchema(RecoveryLastReceivedMessage.class);
587587
withNoSchema(TcpInverseConnectionResponseMessage.class);
588588
withNoSchema(SessionChannelMessage.class);
589589

590590
// [11700 - 11800]: Datastreamer messages.
591591
msgIdx = 11700;
592592
withNoSchema(DataStreamerUpdatesHandlerResult.class);
593-
withNoSchema(DataStreamerEntry.class);
593+
withSchema(DataStreamerEntry.class);
594594
withNoSchema(DataStreamerRequest.class);
595595
withNoSchema(DataStreamerResponse.class);
596596

@@ -637,7 +637,7 @@ public CoreMessagesProvider(Marshaller schemaAwareMarhaller, Marshaller schemaLe
637637
withSchema(GridEventStorageMessage.class);
638638
withNoSchema(ChangeGlobalStateMessage.class);
639639
withNoSchema(GridChangeGlobalStateMessageResponse.class);
640-
withNoSchema(IgniteDiagnosticRequest.class);
640+
withSchema(IgniteDiagnosticRequest.class);
641641
withNoSchema(IgniteDiagnosticResponse.class);
642642
withNoSchema(WalStateAckMessage.class);
643643

0 commit comments

Comments
 (0)