Skip to content
Snippets Groups Projects
  • Georgy Moshkin's avatar
    d291744c
    fix(governor): don't bootstrap vshard until replication factor is satisfied · d291744c
    Georgy Moshkin authored
    NOTE: there's still a bug, because we set each new replicaset's weight
    to 1 (even ones which don't satisfy replication factor)
    before the bucket distribution is bootstrapped. But there must be at
    least one replicaset with non zero weight in order for vshard.*.cfg to
    work.
    
    A potential solution would be to only configure vshard once a replicaset
    is filled up.
    d291744c
    History
    fix(governor): don't bootstrap vshard until replication factor is satisfied
    Georgy Moshkin authored
    NOTE: there's still a bug, because we set each new replicaset's weight
    to 1 (even ones which don't satisfy replication factor)
    before the bucket distribution is bootstrapped. But there must be at
    least one replicaset with non zero weight in order for vshard.*.cfg to
    work.
    
    A potential solution would be to only configure vshard once a replicaset
    is filled up.