diff options
author | babenko <babenko@yandex-team.com> | 2025-01-13 16:06:36 +0300 |
---|---|---|
committer | babenko <babenko@yandex-team.com> | 2025-01-13 16:23:37 +0300 |
commit | 35068345b060c5a136cd6dbf1b9b7052ba6751f9 (patch) | |
tree | 1749c5fa707a4403bb983d9342aae640953979ac /contrib | |
parent | e5f98db1a19bd77a3e8647de3c5f409c919014f0 (diff) | |
download | ydb-35068345b060c5a136cd6dbf1b9b7052ba6751f9.tar.gz |
Rework master state thread management
The main goal is to enable running multiple master instances within a single multidaemon process.
Changes include:
* Fair share queues now accept `TThreadOptions` at init-time
* `NObjectServer::TThreadState` is introduced to encapsulate all bits of state (previously stored as individual TLS globals)
* Bootstrap is no longer considered to be unique and is now stored in `TThreadState`
* Automaton thread is initialized with the help of `TThreadOptions::ThreadInitializer`
* Free functions `(Assert|Verify)AutomatonThreadAffinity` and `(Assert|Verify)PersistentStateRead` are now considered public API and are preferred over bootstrap/hydra facade implementations.
commit_hash:e2e84cb02a2cf2fde13105036bd693657f37f1ab
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions