SIGN IN SIGN UP

store: Create postponed indexes in the background

The runner used to block block processing while postponed indexes were
created. Since these are built with CREATE INDEX CONCURRENTLY and can take
a long time, spawn the work in a background task so indexing continues.

Errors are only logged; the postponed_indexes_created flag is set only on
success, so a failed run is retried the next time the deployment starts.
D
David Lutterkort committed
8316ecb05da76e81cc53cc20d11ab902a683a422
Parent: 3bd36c9