Remove code that flushes the schema state if there are more than 10_000 updates
Merge pull request #3363 from davidegrohmann/2.2-revert-flush-schema

Remove code that flushes the schema state if there are updates