summaryrefslogtreecommitdiffstats
path: root/documentgen-test
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@verizonmedia.com>2019-05-21 13:16:08 +0000
committerTor Brede Vekterli <vekterli@verizonmedia.com>2019-05-21 13:23:15 +0000
commit20cd5dda7e3adda277b0d116075c89c3886dc26e (patch)
tree8650aa281eca845d3eee8d7f84f6bb939f366bff /documentgen-test
parentfb212d0abb8ed773106cbdadd68e9800b257e44a (diff)
Avoid resurrecting replicas for nodes that are unavailable in pending state
We previously only checked for node availability in the _active_ state without looking at the pending state. This opened up for a race condition where a reply for a previously DB-pruned node could bring a replica back in the DB iff received during a pending state window. Consider Maintenance as unavailable for this case, not just Down. Also move all `PutOperation` tests to GTest.
Diffstat (limited to 'documentgen-test')
0 files changed, 0 insertions, 0 deletions