Closed ostefano closed 7 years ago
Hi @ostefano. Forgive me, but I don't really know how the byteman integration in C* works. Why can't you simply set node.byteman_startup_script
before calling start()
?
Hi @ptnapoleon , that would not work because byteman_startup_script
needs to be part of the configuration file, and setting the class member does not update it (it is only updated when __update_envfile
is called by the node constructor).
Okay. Then, for code re-uses sake, maybe let's just add a method node.update_startup_byteman_script
that changes the class member and runs __update_envfile (or import_config_files)?
Sure, sounds good to me. Pushed commit e70cd78
I am working on a new test in cassandra-dtest where I need to submit a byteman rule to a single node, after restarting it. Might not be the best way, so I am open to suggestions.