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

CacheMode.INVALIDATION_SYNC is being replicated

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

XMLWordPrintable

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

      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
      

              Unassigned Unassigned
              gustavolira Gustavo Lira Silva
              Archiver:
              rhn-support-adongare Amol Dongare

                Created:
                Updated:
                Resolved:
                Archived: