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

Fix IncomingSnapshotCopier#cancel for the case of network problems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-beta2
    • None

    Description

      Need to fix org.apache.ignite.internal.table.distributed.raft.snapshot.incoming.IncomingSnapshotCopier#cancel when network hangs occur.

      I think that it is enough to save the future in a variable that will be created after accessing the network, and on canceling the IncomingSnapshotCopier, also cancel this future.

      And also think about the IncomingSnapshotCopier#NETWORK_TIMEOUT.

      Attachments

        Issue Links

          Activity

            People

              rpuch Roman Puchkovskiy
              ktkalenko@gridgain.com Kirill Tkalenko
              Kirill Tkalenko Kirill Tkalenko
              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 - 20m
                  20m