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

AsyncStore fails to save all values when using transactions or batch operations

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 4.1.0.Final
    • 4.1.0.CR3
    • Loaders and Stores
    • None

    Description

      It doesn't seem to be time-related, as the data is lost even when waiting a bit.
      I'm attaching a unit test which applies to core and shows the problem using an async FileCacheStore.

      Attached testcase uses batching, but the same should apply when using transactions.

      Attachments

        1. AsyncStoreBatchingFailsUT.patch
          7 kB
          Sanne Grinovero
        2. AsyncStore-redesignProposal.patch
          35 kB
          Sanne Grinovero
        3. AsyncStore-redesignProposal-2.patch
          37 kB
          Sanne Grinovero
        4. AsyncStore-redesignProposal-3.patch
          43 kB
          Sanne Grinovero
        5. AsyncStoreStopsBeforeSaveUT.patch
          2 kB
          Sanne Grinovero
        6. suggested_fix_with_failing_tests.patch
          19 kB
          Mircea Markus

        Issue Links

          Activity

            People

              sgrinove Sanne Grinovero
              sgrinove Sanne Grinovero
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: