Fix typo in CheckJoinIndex (#12231)

This commit is contained in:
Vigya Sharma 2023-04-14 14:06:19 -07:00 committed by GitHub
parent 2d7908e3c9
commit 4e88118a35
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ public class CheckJoinIndex {
for (int child = prevParentDoc + 1; child != parentDoc; child++) {
final boolean childIsLive = liveDocs.get(child);
if (parentIsLive != childIsLive) {
if (childIsLive) {
if (parentIsLive) {
throw new IllegalStateException(
"Parent doc "
+ parentDoc