Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 1.34 KB

README.md

File metadata and controls

40 lines (22 loc) · 1.34 KB

Invalid data read from synchronously replicated hot standby

This repository contains a minimal reproduce of the Invalid data read from synchronously replicated hot standby issue.

Setup

  • Install Ansible (2.0.2.0 at the time of writing).
  • Install Vagrant (1.8.1 at the time of writing).
  • Install VirtualBox (5.0.18 at the time of writing).

Run

  • vagrant up

The nodes can be accessed by username root and password puppet.

Write to master

  • ansible-playbook playbooks/master-write.yml

Attach slave

  • ansible-playbook playbooks/slave-attach.yml

Set master in synchronous mode

  • ansible-playbook playbooks/master-sync-enable.yml

Set master in asynchronous mode

  • ansible-playbook playbooks/master-sync-disable.yml

Check slave

  • ansible-playbook playbooks/slave-check.yml

Links