Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-922

FLUSH: let application handle concurrent flushing

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.6.9, 2.8
    • 2.5, 2.6, 2.7
    • None

      We decided to allow application handle flush retires rather than handle it within flush itself. The new algorithm is:

      • Send a START-FLUSH to all members in the target set
      • Every member sets the flushInProgress flag to true
      • If this succeeds, the member sends back an OK
      • Else a FAIL is sent back
      • If we received OKs from all members, startFlush() succeeded and returns true
      • If 1 FAIL is received:
      • Send an ABORT-FLUSH to all members which took part in the flush, causes flushInProgress to be set to false
      • startFlush() failed and returns false

              vblagoje Vladimir Blagojevic (Inactive)
              vblagoje Vladimir Blagojevic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: