Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-11440

TestLeaderElectionZkExpiry failures after autoscaling merges

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 7.1
    • AutoScaling, Tests
    • None

    Description

       [junit4]   2> NOTE: reproduce with: ant test  -Dtestcase=TestLeaderElectionZkExpiry -Dtests.method=testLeaderElectionWithZkExpiry -Dtests.seed=936BBD073C4C1EE2 -Dtests.slow=true -Dtests.locale=fi -Dtests.timezone=Africa/Sao_Tome -Dtests.asserts=true -Dtests.file.encoding=ISO-8859-1
         [junit4] ERROR   13.6s J11 | TestLeaderElectionZkExpiry.testLeaderElectionWithZkExpiry <<<
         [junit4]    > Throwable #1: com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=7154, name=OverseerAutoScalingTriggerThread-98770164405436418-dummy.host.com:8984_solr-n_0000000000, state=RUNNABLE, group=Overseer autoscaling triggers]
         [junit4]    > Caused by: org.apache.solr.common.SolrException: org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired for /autoscaling/events/.auto_add_replicas
         [junit4]    > 	at __randomizedtesting.SeedInfo.seed([936BBD073C4C1EE2]:0)
         [junit4]    > 	at org.apache.solr.cloud.ZkDistributedQueue.<init>(ZkDistributedQueue.java:107)
         [junit4]    > 	at org.apache.solr.cloud.autoscaling.TriggerEventQueue.<init>(TriggerEventQueue.java:44)
         [junit4]    > 	at org.apache.solr.cloud.autoscaling.ScheduledTriggers$ScheduledTrigger.<init>(ScheduledTriggers.java:398)
         [junit4]    > 	at org.apache.solr.cloud.autoscaling.ScheduledTriggers.add(ScheduledTriggers.java:149)
         [junit4]    > 	at org.apache.solr.cloud.autoscaling.OverseerTriggerThread.run(OverseerTriggerThread.java:220)
         [junit4]    > 	at java.lang.Thread.run(Thread.java:745)
         [junit4]    > Caused by: org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired for /autoscaling/events/.auto_add_replicas
         [junit4]    > 	at org.apache.zookeeper.KeeperException.create(KeeperException.java:127)
         [junit4]    > 	at org.apache.zookeeper.KeeperException.create(KeeperException.java:51)
         [junit4]    > 	at org.apache.zookeeper.ZooKeeper.exists(ZooKeeper.java:1102)
         [junit4]    > 	at org.apache.solr.common.cloud.SolrZkClient$5.execute(SolrZkClient.java:323)
         [junit4]    > 	at org.apache.solr.common.cloud.SolrZkClient$5.execute(SolrZkClient.java:320)
         [junit4]    > 	at org.apache.solr.common.cloud.ZkCmdExecutor.retryOperation(ZkCmdExecutor.java:60)
         [junit4]    > 	at org.apache.solr.common.cloud.SolrZkClient.exists(SolrZkClient.java:320)
         [junit4]    > 	at org.apache.solr.common.cloud.ZkCmdExecutor.ensureExists(ZkCmdExecutor.java:93)
         [junit4]    > 	at org.apache.solr.common.cloud.ZkCmdExecutor.ensureExists(ZkCmdExecutor.java:78)
         [junit4]    > 	at org.apache.solr.cloud.ZkDistributedQueue.<init>(ZkDistributedQueue.java:105)
      

      Attachments

        Issue Links

          Activity

            People

              noble.paul Noble Paul
              noble.paul Noble Paul
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: