You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2019/04/02 01:54:43 UTC
[GitHub] [incubator-pinot] Jackie-Jiang opened a new pull request #4051: Fix
the race condition for real-time inverted index reader
Jackie-Jiang opened a new pull request #4051: Fix the race condition for real-time inverted index reader
URL: https://github.com/apache/incubator-pinot/pull/4051
When getting doc Ids from RealtimeInvertedIndexReader, the given
dict Id might not be added to the inverted index yet. We first add
the value to the dictionary. Before the value is added to the
inverted index, the query might have a predicate which matches the
newly added value. In that case, the given dictionary Id does not
exist in the inverted index, and we return an empty bitmap.
Simplify BitmapBasedFilterOperator because getDocIds() never
returns null.
Add a test for the change.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org