fdb-document-layer icon indicating copy to clipboard operation
fdb-document-layer copied to clipboard

Fault-tolerant index rebuild

Open apkar opened this issue 6 years ago • 0 comments

If the Document Layer instance bounces, ongoing index rebuild tasks would stop and wouldn't restart later. It is possible to find these stopped tasks by querying special keys. By maintaining index status we can restart these index rebuilds. To make sure two instances do the same work, we have to maintain some kind of locks based on FoundationDB keys.

apkar avatar Nov 29 '18 02:11 apkar