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

BinaryMetadata exchange should not be triggered if metadata was not updated

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None

      Description

      It was found that DiscoveryCustomEvent-based implementation of BinaryMetadata exchange protocol triggers propose-accept process even when it is not needed.

      In some situations BinaryObjects may be built with exactly the same scheme many times, and registering of BinaryMetatada only once is enough.
      However current implementation executes expensive propose-accept process for each addMeta request even if requesting meta is the same.

      Implementation should be improved so that prop-ack process is executed only if BinaryMetadata really changed.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                sergey-chugunov Sergey Chugunov
                Reporter:
                sergey-chugunov Sergey Chugunov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: