Subject: [PATCH]: Not to invaldiate CatalogSnapshot for local invalidation messages

From: Xiaoran Wang <[email-masked]>
Date: Thu, 7 Dec 2023 10:13:52 +0800

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