You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by "chrisdutz (via GitHub)" <gi...@apache.org> on 2024/01/09 13:22:11 UTC
[PR] Feat/resettable singletons [iotdb]
chrisdutz opened a new pull request, #11870:
URL: https://github.com/apache/iotdb/pull/11870
## Description
We are using singletons throughout the code-base. This has the disadvantage that once these are initialized, we can't re-initialize them. Especially when running IoTDB in an embedded mode, this makes it impossible to switch the storage location.
I've added "reinitializeStatics()" methods to places, were I needed to have them re-initialized.
This is actually just a hack or workaround needed till we refactor IoTDB to be a cleanly modeled fo useage of a DI framework.
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Feat/resettable singletons [iotdb]
Posted by "chrisdutz (via GitHub)" <gi...@apache.org>.
chrisdutz closed pull request #11870: Feat/resettable singletons
URL: https://github.com/apache/iotdb/pull/11870
--
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: reviews-unsubscribe@iotdb.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org