Uploaded image for project: 'Red Hat Data Grid'
  1. Red Hat Data Grid
  2. JDG-3416

Stored index will not be replicated if a new node join the cluster

    XMLWordPrintable

Details

    • CR1
    • +
    • Hide

      Start one node with the configuration added below.
      Use any client with protobuf index annotations (example is here https://github.com/wfink/infinispan.playground.ickle)
      add some entries
      check query
      start second node and wait for state-transfer
      check query (wihtout adding the same; so comment the put's in the client)
      shutdown node1
      change the client to use node2
      check query -> nothing is found

      configuration:
      <replicated-cache name="IcklePlayCompanyCache">
      <locking isolation="REPEATABLE_READ"/>
      <transaction mode="NON_DURABLE_XA"/>
      <state-transfer enabled="true" timeout="40000000" chunk-size="512" await-initial-transfer="true"/>
      <file-store shared="false" fetch-state="true" passivation="false">
      <write-behind modification-queue-size="1024" thread-pool-size="5"/>
      </file-store>
      <indexing index="ALL" auto-config="true"/>
      </replicated-cache>

      Show
      Start one node with the configuration added below. Use any client with protobuf index annotations (example is here https://github.com/wfink/infinispan.playground.ickle ) add some entries check query start second node and wait for state-transfer check query (wihtout adding the same; so comment the put's in the client) shutdown node1 change the client to use node2 check query -> nothing is found configuration: <replicated-cache name="IcklePlayCompanyCache"> <locking isolation="REPEATABLE_READ"/> <transaction mode="NON_DURABLE_XA"/> <state-transfer enabled="true" timeout="40000000" chunk-size="512" await-initial-transfer="true"/> <file-store shared="false" fetch-state="true" passivation="false"> <write-behind modification-queue-size="1024" thread-pool-size="5"/> </file-store> <indexing index="ALL" auto-config="true"/> </replicated-cache>

    Description

      If a (replicated) is configured with indexing with persistence the data is repliucated to the joining node but the index is missed.
      This will lead to several problems and the index is lost!

      Attachments

        Issue Links

          Activity

            People

              gfernand@redhat.com Gustavo Fernandes (Inactive)
              rhn-support-wfink Wolf Fink
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: