aboutsummaryrefslogtreecommitdiff
path: root/sbin/hastd/parse.y
diff options
context:
space:
mode:
authorPawel Jakub Dawidek <pjd@FreeBSD.org>2011-10-27 20:32:57 +0000
committerPawel Jakub Dawidek <pjd@FreeBSD.org>2011-10-27 20:32:57 +0000
commit07ebc3626e0c6a319bd565a894ccff235ca8c77f (patch)
treecc217bc0121765fc165f1720b90d9a3c766a4d0c /sbin/hastd/parse.y
parent3f5bce18223c293fe94e5989088cbdfd222ffffa (diff)
downloadsrc-07ebc3626e0c6a319bd565a894ccff235ca8c77f.tar.gz
src-07ebc3626e0c6a319bd565a894ccff235ca8c77f.zip
Implement 'async' mode for HAST.
MFC after: 3 days
Notes
Notes: svn path=/head/; revision=226859
Diffstat (limited to 'sbin/hastd/parse.y')
-rw-r--r--sbin/hastd/parse.y6
1 files changed, 2 insertions, 4 deletions
diff --git a/sbin/hastd/parse.y b/sbin/hastd/parse.y
index 6174a2bb312e..72d24b426bab 100644
--- a/sbin/hastd/parse.y
+++ b/sbin/hastd/parse.y
@@ -301,11 +301,9 @@ yy_config_parse(const char *config, bool exitonerror)
*/
curres->hr_replication = depth0_replication;
}
- if (curres->hr_replication == HAST_REPLICATION_MEMSYNC ||
- curres->hr_replication == HAST_REPLICATION_ASYNC) {
+ if (curres->hr_replication == HAST_REPLICATION_MEMSYNC) {
pjdlog_warning("Replication mode \"%s\" is not implemented, falling back to \"%s\".",
- curres->hr_replication == HAST_REPLICATION_MEMSYNC ?
- "memsync" : "async", "fullsync");
+ "memsync", "fullsync");
curres->hr_replication = HAST_REPLICATION_FULLSYNC;
}
if (curres->hr_checksum == -1) {