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

Reduce code duplication in commit cleanup

    XMLWordPrintableJSON

Details

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

    Description

      PartitionListener and PartitionReplicaListener have the storage cleanup code duplicated, any change to it should be introduced in both places.

      Implementation details
      There is already a StorageUpdateHandler that was created to reuse the storage access logic.
      The storage commit cleanup should be moved into this class from both *Listener classes.

      Attachments

        Issue Links

          Activity

            People

              ksizov  Kirill Sizov
              ksizov  Kirill Sizov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: