w:"majority" 쓰기 한 번이 기다리는 것

w:"majority" 쓰기 한 번이 기다리는 것 A sequence diagram generated by Archify. insert, w: majority 도큐먼트 + oplog 엔트리 (optime T) awaitReplication(T) oplog getMore oplog getMore 위치 보고 (written, durable) 위치 보고 과반이 T 도달, waiter 깨움 ok (또는 writeConcernError) 로컬 복제 대기 응답 클라이언트 · 드라이버 · Sequence participant 클라이언트 드라이버 insert 명령 · primary · Sequence participant insert 명령 primary 컬렉션 + oplog · WiredTiger · Sequence participant 컬렉션 + oplog WiredTiger ReplCoordinator · commit point · Sequence participant ReplCoordinator commit point secondary 1 · fetcher, applier · Sequence participant secondary 1 fetcher, applier secondary 2 · fetcher, applier · Sequence participant secondary 2 fetcher, applier Legend 쓰기 경로 보고, 응답 복제