soumitra-st opened a new pull request, #15028:
URL: https://github.com/apache/pinot/pull/15028

   Adding a testcase to reproduce the behavior fixed in 
https://github.com/apache/pinot/pull/14392 PR. Before 
[this](https://github.com/apache/pinot/pull/14392) fix, the failure is:
   ```
   15:59:03.092 ERROR [IdealStateGroupCommit] [pool-13-thread-1] Caught 
exception while updating ideal state for resource: upsertMeetupRsvp_REALTIME
   java.lang.NullPointerException: Cannot invoke 
"org.apache.pinot.spi.stream.StreamPartitionMsgOffset.compareTo(Object)" 
because "streamSmallestOffset" is null
        at 
org.apache.pinot.controller.helix.core.realtime.PinotLLCRealtimeSegmentManager.selectStartOffset(PinotLLCRealtimeSegmentManager.java:1395)
 ~[classes/:?]
        at 
org.apache.pinot.controller.helix.core.realtime.PinotLLCRealtimeSegmentManager.ensureAllPartitionsConsuming(PinotLLCRealtimeSegmentManager.java:1286)
 ~[classes/:?]
        at 
org.apache.pinot.controller.helix.core.realtime.PinotLLCRealtimeSegmentManager.lambda$ensureAllPartitionsConsuming$3(PinotLLCRealtimeSegmentManager.java:938)
 ~[classes/:?]
        at 
org.apache.pinot.common.utils.helix.IdealStateGroupCommit.lambda$commit$0(IdealStateGroupCommit.java:138)
 ~[classes/:?]
        at 
org.apache.pinot.common.utils.helix.IdealStateGroupCommit$1.call(IdealStateGroupCommit.java:221)
 ~[classes/:?]
        at 
org.apache.pinot.common.utils.helix.IdealStateGroupCommit$1.call(IdealStateGroupCommit.java:208)
 ~[classes/:?]
        at 
org.apache.pinot.spi.utils.retry.BaseRetryPolicy.attempt(BaseRetryPolicy.java:50)
 ~[classes/:?]
        at 
org.apache.pinot.common.utils.helix.IdealStateGroupCommit.updateIdealState(IdealStateGroupCommit.java:208)
 ~[classes/:?]
        at 
org.apache.pinot.common.utils.helix.IdealStateGroupCommit.commit(IdealStateGroupCommit.java:124)
 ~[classes/:?]
        at 
org.apache.pinot.common.utils.helix.HelixHelper.updateIdealState(HelixHelper.java:94)
 ~[classes/:?]
        at 
org.apache.pinot.controller.helix.core.realtime.PinotLLCRealtimeSegmentManager.ensureAllPartitionsConsuming(PinotLLCRealtimeSegmentManager.java:921)
 ~[classes/:?]
   ```
   
   Later on the test fails as:
   ```
   java.lang.AssertionError: Failed to meet condition in 60000ms, error 
message: Failed to pause table: upsertMeetupRsvp_REALTIME
   ```
   
   The testcase works with the current master branch.
   
   `testing`
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to