pauloricardomg commented on code in PR #277:
URL: https://github.com/apache/cassandra-sidecar/pull/277#discussion_r2677581118


##########
conf/sidecar.yaml:
##########
@@ -455,3 +458,15 @@ live_migration:
   migration_map:                          # Map of source and destination 
Cassandra instances
 #    localhost1: localhost4               # This entry says that localhost1 
will be migrated to localhost4
   max_concurrent_downloads: 20            # Maximum number of concurrent 
downloads allowed
+
+# Configuration to allow sidecar start and stop Cassandra instances via the 
lifecycle API (disabled by default)
+lifecycle:
+  enabled: false
+  provider:
+    class_name: org.apache.cassandra.sidecar.lifecycle.ProcessLifecycleProvider
+    parameters:
+      state_dir: /var/lib/cassandra-sidecar/lifecycle # The directory where 
the process state is stored
+      cassandra_home: /opt/cassandra # The default Cassandra installation 
directory

Review Comment:
   good call, I see this is already included in the reviews 
[commit](https://github.com/pauloricardomg/cassandra-sidecar/commit/75c614da8888ff37ebf0a8c2ace98bd12e3a50f7)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to