Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-2394

Use DataRehashedEvent to signal end of state transfer

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 5.2.8.Final
    • 5.2.0.Final
    • State Transfer
    • None

      Since NBST was introduced the actual completion of state transfer happens later than the TopologyChangedEvent. In unit tests there is currently no simple way to find out when this actually happens so we resorted to some ugly polling (see TestingUtil.waitForRehashToComplete()). Also some other core components could benefit from such an event (eg. StaleTransactionCleanupService, see ISPN-2383).

      The event should contain the CacheTopology that is being confirmed as stable.

              dberinde@redhat.com Dan Berindei (Inactive)
              anistor Adrian Nistor (Inactive)
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: