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

PartitionReplicaListener should not interact with storages in the messaging thread

    XMLWordPrintableJSON

Details

    Description

      Motivation

      Currently, PartitionReplicaListener does not switch its operations to another thread pool when handling ReplicaRequests, so, most of the time, they are handled in the messaging thread (the thread that is used to handle incoming messages). There is only one such thread per Ignite node, and its disruption might harm node liveness a great deal (for instance, it may make the node drop off the Physical Topology due to inability to ack a ping in a timely manner).

      Definition of Done

      Calls to storages may cause I/O and block on locks, so they should be avoided in the messaging thread.

      Implementation Notes

       

      Attachments

        Issue Links

          Activity

            People

              rpuch Roman Puchkovskiy
              rpuch Roman Puchkovskiy
              Alexander Lapin Alexander Lapin
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1.5h
                  1.5h