Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-22168

Fix fieldsCount in TcpCommunication messages

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.17
    • None
    • Fixed fieldsCount in TcpCommunication messages (potential serialization/deserialization problem)

    Description

      Some implementations of interface Message (they are listed below) have method #fieldsCount which returns incorrect value. It can lead to inconsistency of IO operations in TcpCommunication protocol.

      Class Caused by
      GridCacheQueryRequest IGNITE-21345
      GridCacheQueryResponse IGNITE-15530
      GridDhtTxFinishRequest IGNITE-21345
      GridDhtTxPrepareRequest IGNITE-21345
      GridH2QueryRequest IGNITE-21345, IGNITE-21628
      GridNearGetRequest IGNITE-21345
      GridNearSingleGetRequest IGNITE-21345
      GridNearTxFinishRequest IGNITE-21345
      SnapshotFilesRequestMessage IGNITE-17610, IGNITE-15067, IGNITE-14744

      Reproducer: IGNITE-22168.patch

      Attachments

        1. IGNITE-22168.patch
          2 kB
          Ilya Shishkov

        Issue Links

          Activity

            People

              shishkovilja Ilya Shishkov
              shishkovilja Ilya Shishkov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m