[ https://jira.terracotta.org/jira//browse/CDV-409?page=all ]
Fiona O'Shea resolved CDV-409.
------------------------------
Resolution: Duplicate
> Changing terracotta config file without restart using JMX
> ---------------------------------------------------------
>
> Key: CDV-409
> URL: https://jira.terracotta.org/jira//browse/CDV-409
> Project: Community Development
> Issue Type: New Feature
> Reporter: Erez Harari
> Assigned To: Issue Review Board
>
> from http://forums.terracotta.org/forums/posts/list/375.page
> erezhara:
> is there a JMX alternative, i.e. using a JMX client to change the settings
> that were originally loaded from the config file?
> ari
> please provide a feature request in a JIRA, erezhara. Taylor and Steve are
> currently at work on the runtime-changeable capabilities for an upcoming
> release. There are a few things that we could expose through JMX such as
> "object pre-fetch depth" and "log level" or "debug mode" of some sort. There
> are even more things we could do such as "add another passive Terracotta
> server to the list".
> As zeeiyer points out, though, changing locks and roots at runtime would be
> difficult to figure out for us. Example: adding some static named "foo" as a
> new root after 3 days of operation. Each JVM will have its own state for
> "foo". Which version wins? We can't figure that out and definitely cannot
> configure it without breaking many of the running app instances / threads
> that are currently relying on certain data in "foo".
> A better example would be locking. If we allowed the introduction of locks at
> runtime, you could easily deadlock. If you removed locks at runtime, you
> would likely introduce race conditions.
> Make sense? Please file the JIRA for the types of things you want to see,
> though...we are very interested and working on this feature RIGHT NOW.
>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.terracotta.org/jira//secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
tc-dev mailing list
[email protected]
http://lists.terracotta.org/mailman/listinfo/tc-dev