Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add -rcc option

  • Loading branch information...
commit d2015490a7dcbd74fe35e0282ac4de9c0d8a9982 1 parent 9d87cd7
@copiousfreetime authored
View
4 HISTORY.rdoc
@@ -1,4 +1,8 @@
= Changelog
+== Version 1.3.1 2009-10-15
+
+* add -rcc option to ttserver commandline
+
== Version 1.3.0 2009-10-04
* become ruby 1.9 compatible
View
6 data/default_instance_config.rb
@@ -237,6 +237,12 @@
replication_timestamp_file "<%= instance_name %>.rts"
desc <<-txt
+ Do consistency check on the replication and stop replication if
+ an inconsistency is detected.
+ txt
+ replication_consistency_check nil
+
+ desc <<-txt
The name of a file to load as a lua extension. By default this
is relative to the root of the instance directory. This file will
only be loaded if it exists.
View
1  lib/tyrant_manager/tyrant_instance.rb
@@ -232,6 +232,7 @@ def start_command
parts << "-mhost #{configuration.master_server}" if configuration.master_server
parts << "-mport #{configuration.master_port}" if configuration.master_port
parts << "-rts #{replication_timestamp_file}" if configuration.replication_timestamp_file
+ parts << "-rcc" if configuration.replication_consistency_check
##-- lua extension
if configuration.lua_extension_file then
Please sign in to comment.
Something went wrong with that request. Please try again.