Skip to content
This repository was archived by the owner on Apr 9, 2024. It is now read-only.

fix(sync): re-create table should re-create index too #378

Merged
merged 1 commit into from
Feb 5, 2022

Conversation

EthanYuan
Copy link
Collaborator

What this PR does / why we need it:
Re-create table should re-create index too. Otherwise, when Mercury is restarted and the parallel synchronization is performed again, the indexes of more than one tables will be lost, and the insertion will be too slow to keep up with the ckb node.

Which issue(s) this PR fixes:

Fixes #

Which docs this PR relation:

Ref #

Which toolchain this PR adaption:

No Breaking Change

Special notes for your reviewer:

@EthanYuan EthanYuan requested a review from quake January 28, 2022 11:14
@EthanYuan EthanYuan merged commit 124290b into nervosnetwork:dev Feb 5, 2022
@EthanYuan EthanYuan deleted the fix-table-index-drop branch February 9, 2022 02:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants