Skip to content

Commit

Permalink
HSEARCH-4155 Fix a bug in PojoIndexingPlan where a delete followed by…
Browse files Browse the repository at this point in the history
… add would not correctly update an entity

Signed-off-by: Yoann Rodière <yoann@hibernate.org>
  • Loading branch information
yrodiere committed Feb 10, 2021
1 parent 5983693 commit 966ba1a
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -112,6 +112,8 @@ void add(Supplier<E> entitySupplier, String providedRoutingKey) {
initialStatus = EntityStatus.ABSENT;
}
currentStatus = EntityStatus.PRESENT;
considerAllDirty = true;
dirtyPaths = null;
}

void addOrUpdate(Supplier<E> entitySupplier, String providedRoutingKey) {
Expand Down

0 comments on commit 966ba1a

Please sign in to comment.