From 5b7930446f5d1ea0bd663aeb9070f35925dced50 Mon Sep 17 00:00:00 2001 From: jiansong Date: Tue, 26 Sep 2017 01:34:07 -0700 Subject: [PATCH] Open the volume_support of redis In the past, we support volume_support when we support redis-cluster[1], but we did not update to conf[2]. we are making the sample conf files match the default configuration in code. [1]:https://review.openstack.org/#/c/203702/ [2]:https://review.openstack.org/#/c/107117/ Closes-Bug: #1701469 Change-Id: I428e274fdb85621b21453780e90a8a0ab401ffd9 --- etc/trove/trove-taskmanager.conf.sample | 6 +++--- etc/trove/trove.conf.sample | 5 ++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/etc/trove/trove-taskmanager.conf.sample b/etc/trove/trove-taskmanager.conf.sample index e034a57310..ba513ed974 100644 --- a/etc/trove/trove-taskmanager.conf.sample +++ b/etc/trove/trove-taskmanager.conf.sample @@ -228,9 +228,9 @@ device_path = /dev/vdb # Format (single port or port range): A, B-C # where C greater than B tcp_ports = 6379, 16379 -# redis uses local storage -volume_support = False -# default device_path = None +volume_support = True +device_path = /dev/vdb + [cassandra] tcp_ports = 7000, 7001, 9042, 9160 diff --git a/etc/trove/trove.conf.sample b/etc/trove/trove.conf.sample index 5456de0251..2cc9c1379a 100644 --- a/etc/trove/trove.conf.sample +++ b/etc/trove/trove.conf.sample @@ -223,9 +223,8 @@ ignore_dbs = mysql, information_schema, performance_schema [redis] tcp_ports = 6379, 16379 -#redis uses local storage -volume_support = False -# default device_path = None +volume_support = True +device_path = /dev/vdb [cassandra] tcp_ports = 7000, 7001, 9042, 9160