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

CacheMode.INVALIDATION_SYNC is being replicated

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • 10.1.0.Final
    • None
    • None

    Description

      Configuring two remote caches with hotrod and CacheMode.INVALIDATION_SYNC using InfinispanServerRule, populate cache1, cache2 should contain size=0, but all cache1 is being replicated to cache2.

      RemoteCache<String, String> cache1 = SERVER_TEST.hotrod().withServerConfiguration(builder).withClientConfiguration(clientBuilder1).create();
      RemoteCache<String, String> cache2 = SERVER_TEST.hotrod().withServerConfiguration(builder).withClientConfiguration(clientBuilder2).create();
      cache1.put("key", "value");
      assertEquals("value", cache1.get("key"));
      assertEquals(1, cache1.size());
      assertEquals(0, cache2.size()); // is failling
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            gustavolira Gustavo Lira Silva
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: