Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-1557

LuceneQueriesPeerPRDUnitTest.returnCorrectResultsAfterRebalance fails with suspect string error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0-incubating.M3
    • lucene
    • None

    Description

      This test failed with the following error

      Suspicious strings were written to the log during this run.
      Fix the strings or use IgnoredException.addIgnoredException to ignore.
      -----------------------------------------------------------------------
      Found suspect string in log4j at line 61460
      [error 2016/06/16 12:02:33.844 PDT <Event Processor for GatewaySender_AsyncEventQueue_index#_region_0> tid=1453] Unable to save to lucene index
      com.gemstone.gemfire.internal.cache.BucketNotFoundException: User bucket was not found for region Partitioned Region @149884aa [path='/region'; dataPolicy=PARTITION; prId=92; isDestroyed=false; isClosed=false; retryTimeout=3600000; serialNumber=10558; partition attributes=PartitionAttributes@1660363202[redundantCopies=0;localMaxMemory=409;totalMaxMemory=2147483647;totalNumBuckets=113;partitionResolver=null;colocatedWith=null;recoveryDelay=-1;startupRecoveryDelay=0;FixedPartitionAttributes=null;partitionListeners=null]; on VM 192.168.1.17(10580)<ec><v49>:1025]key 1 callbackarg null
      	at com.gemstone.gemfire.cache.lucene.internal.PartitionedRepositoryManager.getRepository(PartitionedRepositoryManager.java:102)
      	at com.gemstone.gemfire.cache.lucene.internal.LuceneEventListener.processEvents(LuceneEventListener.java:72)
      	at com.gemstone.gemfire.internal.cache.wan.GatewaySenderEventCallbackDispatcher.dispatchBatch(GatewaySenderEventCallbackDispatcher.java:168)
      	at com.gemstone.gemfire.internal.cache.wan.GatewaySenderEventCallbackDispatcher.dispatchBatch(GatewaySenderEventCallbackDispatcher.java:87)
      	at com.gemstone.gemfire.internal.cache.wan.AbstractGatewaySenderEventProcessor.processQueue(AbstractGatewaySenderEventProcessor.java:613)
      	at com.gemstone.gemfire.internal.cache.wan.AbstractGatewaySenderEventProcessor.run(AbstractGatewaySenderEventProcessor.java:1058)
      -----------------------------------------------------------------------
      

      It looks like this test is doing a rebalance, so it may be expected that buckets are not found when writing to the lucent index. The system should probably not log an error just because a bucket has moved.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              adharmakkan Aparna Dharmakkan
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: