bitshares / bitshares-core

BitShares Blockchain node and command-line wallet
https://bitshares.github.io/
Other
1.17k stars 643 forks source link

es_objects plugin: deal with chain reorganization #2575

Open abitmore opened 2 years ago

abitmore commented 2 years ago

Bug Description

The es_objects plugin does not deal with chain reorganization.

For example, if an object is deleted from the object database on a minor fork, it will get deleted from ES. If there is then a chain reorganization and on the major fork the object is not deleted, in ES it may remain deleted.

Related: #2464, #2493.

Impacts Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.

CORE TEAM TASK LIST