Jollyplum commented on PR #3663:
URL: https://github.com/apache/cassandra/pull/3663#issuecomment-2489814784
> Could we also make maxHintTTL settable via JMX?
Given it's a -D system property now, with a max int default, how did you
want this to behave?
I see in some places we have -D that falls back on yaml, but they're only a
couple of them and they look to be consumed just on startup and not settable
via jmx e.g
```
public static String getAllocateTokensForKeyspace()
{
return
ALLOCATE_TOKENS_FOR_KEYSPACE.getString(conf.allocate_tokens_for_keyspace);
```
I could make it perhaps a yaml property, which if the system property is set
defaults to that? but it's breaking with quite a few conventions. Removing the
-D and replacing with yaml only is probably also not feasible for something
that's intended to be back-ported.
Maybe allowing either to be set, but complaining if both are set on startup?
--
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]