Uploaded image for project: 'Java Couchbase JVM Core'
  1. Java Couchbase JVM Core
  2. JVMCBC-1368

java.lang.ArithmeticException: / by zero in RoundRobinSelectionStrategy.select

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 2.4.10
    • None
    • None
    • None
    • 1
    • SDK34

    Description

      Suggested Release Note:

      Fixed a rare `java.lang.ArithmeticException: / by zero` exception in `RoundRobinSelectionStrategy.select` that could occur during rebalance.

       

      Stack trace:

      java.lang.ArithmeticException: / by zero
          at com.couchbase.client.core.service.strategy.RoundRobinSelectionStrategy.select(RoundRobinSelectionStrategy.java:38)
          at com.couchbase.client.core.service.PooledService.send(PooledService.java:282)
          at com.couchbase.client.core.service.QueryService.send(QueryService.java:26)
          at com.couchbase.client.core.node.Node.send(Node.java:383)
          at com.couchbase.client.core.node.RoundRobinLocator.dispatchUntargeted(RoundRobinLocator.java:207)
          at com.couchbase.client.core.node.RoundRobinLocator.dispatch(RoundRobinLocator.java:124)
          at com.couchbase.client.core.Core.send(Core.java:317)
          at com.couchbase.client.core.Core.send(Core.java:290)
          at com.couchbase.client.java.query.QueryAccessor.queryInternal(QueryAccessor.java:160)
          at com.couchbase.client.java.query.QueryAccessor.queryReactive(QueryAccessor.java:146)
       

      Attachments

        Activity

          People

            david.nault David Nault
            david.nault David Nault
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              PagerDuty