Hi hackers,

For local invalidation messages, there is no need to call
`InvalidateCatalogSnapshot` to set the CatalogSnapshot to NULL and
 rebuild it later. Instead, just update the CatalogSnapshot's `curcid`
 in `SnapshotSetCommandId`, this way can make the CatalogSnapshot work
well too.

 This optimization can reduce the overhead of rebuilding CatalogSnapshot
 after each command.


Best regards, xiaoran

Attachment: 0001-Not-to-invalidate-CatalogSnapshot-for-local-invalida.patch
Description: Binary data

Reply via email to