Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-21765

Java thin 3.0: DataStreamer partition awareness might break if assignment is not available at the moment

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.0.0-beta1
    • 3.0
    • streaming, thin client

    Description

      • ClientTable.getPartitionAssignment might return an empty list
      • AbstractClientStreamerPartitionAwarenessProvider assumes that partition count can't change

      Therefore, if some server node lags behind and returns an empty assignment for a given timestamp, streamer partition awareness won't work at all.

      Potential Fixes

      • Wait for assignment on the server, do not return empty/null - might affect performance
      • Return correct partition count, but null values - faster and simpler

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Igor Sapego Igor Sapego
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m