Dear Vignesh, Noah, Agree the basic approach that we avoid the re-initializing the catalog. My primitive idea is to follow what slotsync does. SlotSyncCtxStruct::syncing is checked from the SQL function and the slotsync worker, and either of them can continue. So we may be able to have LogicalRepCtxStruct::synching_seqs or something to indicate the status. But there might be other ways, needs to be investigated.
Best regards, Hayato Kuroda FUJITSU LIMITED
