Commit 04ccf4b
committed
mmaprototype: populate conf.NumVoters to conf.NumReplicas if 0
Previously, MMA used the given span config directly. However, the comment on
config.NumVoters specifies that if it is set to zero, the voter replica count
should default to NumReplicas, which is usually handled by
SpanConfig.GetNumVoters().1 parent 4b40f6b commit 04ccf4b
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
252 | 252 | | |
253 | 253 | | |
254 | 254 | | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
255 | 258 | | |
256 | 259 | | |
257 | 260 | | |
| |||
0 commit comments