Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
Add parameters to pump config (#805) (#806)
Browse files Browse the repository at this point in the history
  • Loading branch information
liubo0127 authored Jul 3, 2019
1 parent 000fadb commit 95a2d14
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions conf/pump-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ security:
storage:
# Set to true (by default) to guarantee reliability by ensuring binlog data is flushed to the disk.
# sync-log: true

# stop write when disk available space less than the configured size
# 42 MB -> 42000000, 42 mib -> 44040192
# default: 10 gib
# stop-write-at-available-space = "10 gib"
4 changes: 2 additions & 2 deletions roles/check_system_static/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@
when: ansible_version.full | version_compare('2.4.2', '<')

- name: Get if jmespath info[1]
shell: pip list | grep -i jmespath | wc -l
shell: pip list | grep -iw jmespath | wc -l
register: jmespath_exist

- name: Get if jinja2 exist[1]
shell: pip list | grep -i jinja2 | wc -l
shell: pip list | grep -iw jinja2 | wc -l
register: jinja2_exist

- name: Preflight check - Fail when jmespath or jinja2 doesn't exist
Expand Down
5 changes: 5 additions & 0 deletions roles/pump_cluster/vars/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,8 @@ security:
storage:
# Set to true (by default) to guarantee reliability by ensuring binlog data is flushed to the disk.
# sync-log: true

# stop write when disk available space less than the configured size
# 42 MB -> 42000000, 42 mib -> 44040192
# default: 10 gib
# stop-write-at-available-space = "10 gib"

0 comments on commit 95a2d14

Please sign in to comment.