commit | 168d635fc8516a1fe655cd7088703bafe3110b33 | [log] [tgz] |
---|---|---|
author | Tony Sun <tony.sun427@gmail.com> | Mon Sep 14 11:12:47 2020 -0700 |
committer | GitHub <noreply@github.com> | Mon Sep 14 11:12:47 2020 -0700 |
tree | 409aff7e1ca8b5093e31f43523436fcfef97a38d | |
parent | ac33e853cef2a6a108aa64269eb196d32b235529 [diff] |
fix race condition (#3150) This fixes a94e693f32672e4613bce0d80d0b9660f85275ea because a race condition exisited where the 'DOWN' message could be received before the compactor pid is spawned. Adding a synchronous call to get the compactor pid guarantees that the couch_db_updater process handling of finish_compaction has occurred.