Uploaded image for project: 'Couchbase Lite'
  1. Couchbase Lite
  2. CBL-505

Android bindings should manage the size of the CCR thread pool

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.6.0
    • Fix Version/s: 2.8.0
    • Component/s: Java-Android
    • Security Level: Public
    • Labels:
      None
    • Sprint:
      CBL Sprint 8
    • Story Points:
      8

      Description

      If the client code conflict resolver takes a long time to run, the library can exhaust system concurrency resources. When this happens the application will fail with a RejectedExecutionException, often in one of the SerialExecutors, and far, far from the source of the problem. It would be better to fail in some way that made it clear that slow conflict resolvers were the source of the problem.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

          Hide
          blake.meike Blake Meike added a comment -

          The Concurrent Executor returned by the ExecutionService is now backed by an unbounded queue, to which it reverts when system resources are low.
          Changes in https://issues.couchbase.com/browse/CBL-505

          Show
          blake.meike Blake Meike added a comment - The Concurrent Executor returned by the ExecutionService is now backed by an unbounded queue, to which it reverts when system resources are low. Changes in https://issues.couchbase.com/browse/CBL-505
          Hide
          build-team Couchbase Build Team added a comment -

          Build couchbase-lite-android-2.7.0-253 contains couchbase-lite-android commit 3511494 with commit message:
          Android updates for CBL-505

          Show
          build-team Couchbase Build Team added a comment - Build couchbase-lite-android-2.7.0-253 contains couchbase-lite-android commit 3511494 with commit message: Android updates for CBL-505

            People

            Assignee:
            blake.meike Blake Meike
            Reporter:
            blake.meike Blake Meike
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes

                  PagerDuty