A contained entity with only irrelevant changes may mistakenly trigger reindexing

Description

This only affects 6.1. ORM's event-based reindexing is probably unaffected due to its extra checks before marking an entity as dirty. I think the only way this could affect users is when relying on SearchIndexingPlan to explicitly mark entities are dirty.

In any case, this bug does show up on some new tests I'm writing, so that at least is real and annoying.

The bug was caused by the changes in / HSEARCH-4138.

Environment

None
Fixed

Assignee

Yoann Rodière

Reporter

Yoann Rodière

Labels

None

Suitable for new contributors

None

Feedback Requested

None

Components

Fix versions

Affects versions

Priority

Trivial