Flashcards
Mongo_Replication
Flashcards do conjunto (5)
- 1Do hidden members vote in replica set elections?Hidden members of replica sets do vote in elections. To exclude a member from voting in an election, change the value of the member’s votes configuration to 0.
- 2Which members of a replica set vote in elections?All members of a replica set, unless the value of votes is equal to 0, vote in elections. This includes all delayed, hidden and secondary-only members. Arbiters always vote in elections and always have 1 vote.
Additionally, the state of the voting members also determine whether the member can vote. Only voting members in the following states are eligible to vote:
PRIMARY
SECONDARY
RECOVERING
ARBITER
ROLLBACK - 3Is it normal for replica set members to use different amounts of disk space?yes . Factors including: different oplog sizes, different levels of storage fragmentation, and MongoDB’s data file pre-allocation can lead to some variation in storage utilization between nodes. Storage use disparities will be most pronounced when you add members at different times.
- 4What information do arbiters exchange with the rest of the replica set?Arbiters never receive the contents of a collection but do exchange the following data with the rest of the replica set:
Credentials used to authenticate the arbiter with the replica set. All MongoDB processes within a replica set use keyfiles. These exchanges are encrypted.
Replica set configuration data and voting data. This information is not encrypted. Only credential exchanges are encrypted. - 5How long does replica set failover take?It varies, but a replica set will select a new primary within a minute.
It may take 10-30 seconds for the members of a replica set to declare a primary inaccessible. This triggers an election. During the election, the cluster is unavailable for writes.
The election itself may take another 10-30 seconds.
Informações
- Descrição
- FlashCards sobre Mongo_Replication, criado por raj.mattew em 17-08-2015.
- Criado por
- raj.mattew · ago 2015
- Atualizado
- 19 fev 2016
- Visualizações
- 0
- Avaliação