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

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

    Details

      Description

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  galder.zamarreno Galder Zamarreño
                  Reporter:
                  galder.zamarreno Galder Zamarreño
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: