Home > database > Directing a shard cluster a mongod service suddenly hang up
Directing a shard cluster a mongod service suddenly hang up
Time:10-06
Is what I use YCSB to directing a shard insert 100 w data collection, the results of a mongo process suddenly went down, and then YCSB insert error, no master, at first thought it was no elected to the Lord, but to enter the crash of a service, shard episode primary is there, but don't know whether I choose to crash or itself is secondary,
CodePudding user response:
After the restart ycsb or no master
CodePudding user response:
You said the restart YCSB is inserted again again? It should not be a primary after the crash, select a new primary mongos will insert data to the new primary, arguably, should not find master, Even if restart ycsb can find is violated the mongo high availability?