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

Work Manager Replication thows on Replication complete (Beryllium)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Critical
    • Beryllium
    • 3.1.0
    • Java, Java-Android
    • Security Level: Public
    • None
    • JAK 102
    • 3

    Description

      Calling `cancel()` on the context to end the flow, causes `runBlocking` the throw an interrupted exception, and thus the failure of the worker.

      Moving most of the logic from the `collect` call, to a `map` and introducing a `takeWhile` is more elegant, and does not generate the exception

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes

                  PagerDuty