You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "dlmarion (via GitHub)" <gi...@apache.org> on 2024/07/02 18:29:51 UTC
[I] SessionManager properties are not updated dynamically [accumulo]
dlmarion opened a new issue, #4723:
URL: https://github.com/apache/accumulo/issues/4723
**Describe the bug**
`TSERV_SESSION_MAXIDLE` and `TSERV_UPDATE_SESSION_MAXIDLE` are read in the constructor of `SessionManager`, which is created in the constructor of `TabletServer` and `ScanServer`. The properties are documented as being zk mutable, but they will only take affect on a restart.
**Versions (OS, Maven, Java, and others, as appropriate):**
- Affected version(s) of this project: 2.1.x+
**Expected behavior**
SessionManager should respect property updates
**Additional context**
I don't think this is the first time we have encountered a problem like this. I'm starting to wonder if the AccumuloConfiguration methods that return a property value should return a Supplier instead. This won't resolve the problem by itself, but it might get the developer to think about how and where the property value is retrieved and stored.
--
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: notifications-unsubscribe@accumulo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] SessionManager properties are not updated dynamically [accumulo]
Posted by "ctubbsii (via GitHub)" <gi...@apache.org>.
ctubbsii commented on issue #4723:
URL: https://github.com/apache/accumulo/issues/4723#issuecomment-2252202486
It's possible some of these can be updated without requiring a restart. That could benefit from a supplier, or some other internal reorganization. But one way to fix this in the near term is to add these to the "fixed properties" list so that the generated documentation for them will correctly indicate that they require a restart.
--
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: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] SessionManager properties are not updated dynamically [accumulo]
Posted by "DomGarguilo (via GitHub)" <gi...@apache.org>.
DomGarguilo commented on issue #4723:
URL: https://github.com/apache/accumulo/issues/4723#issuecomment-2260933790
> But one way to fix this in the near term is to add these to the "fixed properties" list so that the generated documentation for them will correctly indicate that they require a restart.
Addressed in #4780
--
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: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] SessionManager properties are not updated dynamically [accumulo]
Posted by "dlmarion (via GitHub)" <gi...@apache.org>.
dlmarion closed issue #4723: SessionManager properties are not updated dynamically
URL: https://github.com/apache/accumulo/issues/4723
--
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: notifications-unsubscribe@accumulo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org