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

Cache.stop() should wait for on-going txs to finish

XMLWordPrintable

      At first glance, this should be relatively easy to achieve by making sure TransactionTable.stop() waits for local and remote transaction collections to be empty. Clearly, waiting for txs to finish would be configurable with a timeout. This timeout should not be bigger than the transaction timeout, otherwise you're wasting time cos even if a transaction started just before Cache.stop() was called, it could only last as long as the TM says.

            rh-ee-galder Galder ZamarreƱo
            rh-ee-galder Galder ZamarreƱo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: