Andrew Wong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18101
Change subject: [consensus] force fsync metadata on XFS ...................................................................... [consensus] force fsync metadata on XFS We've seen issues like KUDU-2195 rear their heads more prominently on XFS, sometimes requiring costly surgery to fix by restoring metadata if all replicas lose their consensus metadata. This patch adds to the band-aid flag --cmeta_force_fsync, checking if the metadata is on an XFS mount, and if so, always fsyncing. This new behavior is enabled by default with the --cmeta_override_fsync_on_xfs flag. Change-Id: Ie97138e3522f20325be104d3665d887693b79a10 --- M src/kudu/consensus/consensus_meta.cc M src/kudu/fs/fs_manager.cc M src/kudu/fs/fs_manager.h 3 files changed, 24 insertions(+), 2 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/01/18101/1 -- To view, visit http://gerrit.cloudera.org:8080/18101 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Ie97138e3522f20325be104d3665d887693b79a10 Gerrit-Change-Number: 18101 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Wong <[email protected]>
