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

PutForExternalRead won't work after a clear(), when both in same tx

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Blocker Blocker
    • None
    • 5.3.0.Final, 6.0.0.Final
    • Transactions

         public void testPutForExternalReadAfterClear() throws Exception {
            cache.put(1, "v1");
            tm().begin();
            try {
               cache.getAdvancedCache().clear();
               cache.putForExternalRead(1, "v1");
               assertEquals("v1", cache.get(1));
            } finally {
               tm().commit();
            }
         }
      

              wburns@redhat.com Will Burns
              rh-ee-galder Galder ZamarreƱo
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: