2016-12-07 3 views
0

Postgres 장애 조치를 테스트하고 있습니다. 프라이 머리가 아래로 내린 후, 나는 지시 된대로 trigger_file을 만지고있다. 이제 노예가 주인이됩니다. former_slave (현재 기본)에있는 insert insert 문은 다음 오류와 함께 다시 나타납니다. 아무도 내가 해제하거나 해제해야 할 다른 매개 변수를 알고 있습니까?Postgres 장애 조치 오류

formetest=# insert into tcompany values(50,'NOT ACME','ToonLand1'); 
^CCancel request sent 
WARNING: canceling wait for synchronous replication due to user request 
DETAIL: The transaction has already committed locally, but might not have been replicated to the standby. 
INSERT 0 1 

답변

0

synchrounous 커밋에 당신은 노예 (들)의 응답에 대기하고 synchronous_commit를 비활성화, 그것을 얻을 ins't 또는 응답하는 슬레이브 구성되어 의미, 서버를 가지고하는 확장 장애 조치 할 것을 권장하고 전환은 repmgr입니다.