Uploaded image for project: 'Hawkular Metrics'
  1. Hawkular Metrics
  2. HWKMETRICS-357

Rx computation threads may block while iterating over C* rows

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 0.14.0
    • Component/s: Core
    • Labels:
      None

      Description

      When we get an Observable<ResultSet> from the Rx C* Driver module, we often iterate over rows with flatMap(Observable::from).

      The problem is that:

      1. ResultSet#iterator can block the current thread if the ResultSet is not fully fetched
      2. Observable<ResultSet> operates on the computational scheduler, which should never be blocked.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tsegismont Thomas Segismont
                Reporter:
                tsegismont Thomas Segismont
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: