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

Use DataRehashedEvent to signal end of state transfer

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)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: