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

Key set not empty after transactional CACHE_MODE_LOCAL flagged clear

    XMLWordPrintable

Details

    Description

      The following test fails (added to AbstractLocalTest):

         public void testKeySetAfterClear() throws Exception {
            cache.put(1, "v1");
            tm().begin();
            try {
               cache.getAdvancedCache().withFlags(Flag.CACHE_MODE_LOCAL).clear();
               assertTrue(cache.keySet().isEmpty());
            } finally {
               tm().commit();
            }
         }
      

      If the flag is removed, it works fine.

      Attachments

        Issue Links

          Activity

            People

              wburns@redhat.com Will Burns
              gzamarre Galder ZamarreƱo
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: