PIM-2347 Synchronize entity ids before flushing documents