aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/python/python-dateutil/py3/dateutil/test/test_utils.py
diff options
context:
space:
mode:
authorvityaman <vityaman.dev@yandex.ru>2025-04-25 16:08:47 +0300
committerrobot-piglet <robot-piglet@yandex-team.com>2025-04-25 16:30:34 +0300
commit2b59203eb9ccded916b53b3410e3f15abf4b623f (patch)
treeaa66fc9fec95a23f8f33fafacbe2bc642be1ad3f /contrib/python/python-dateutil/py3/dateutil/test/test_utils.py
parente739c22f1b227bc18a976d21555c542b4c3e7646 (diff)
downloadydb-2b59203eb9ccded916b53b3410e3f15abf4b623f.tar.gz
YQL-19747: Refactor sql/v1/complete usage of Future and Ptr
- [x] Chained futures, add `CompleteAsync` method (then will migrate the YDB CLI on it). - [x] Removed deadlined and fallback NameService as unused - [x] Annotate thread-safe methods with `const` and use `AtomicSharedPtr` for them. - [x] Move `name` to `name/service` with backward compatibility with the YDB CLI. --- `CompletionEngine` is left thread-unsafe because of the dependency chain `CompletionEngine -> LocalSyntaxAnalysis -> C3Engine` which is thread-unsafe, but readonly indexed data structures such as `Ranking` and `NameService` are annotated with const and distributed via shared pointers. I removed deadlined and fallback name services because the first is stupid the second is ahead of its time and is better to be added later to keep interfaces as minimal as possible. --- The migration on async complete plan: 1. Introduce CompleteAsync 2. Migrate clients on CompleteAsync 3. Make Complete to return Future 4. Migrate clients on Complete 5. Remove CompleteAsync --- - Related to https://github.com/ydb-platform/ydb/issues/9056 - Related to https://github.com/vityaman/ydb/issues/33 - Related to https://github.com/vityaman/ydb/issues/31 --- Pull Request resolved: https://github.com/ytsaurus/ytsaurus/pull/1241 Co-authored-by: vvvv <vvvv@yandex-team.com> Co-authored-by: vvvv <vvvv@yandex-team.com> commit_hash:497cc081ab78bebf7354e0acfaa418d936cc8240
Diffstat (limited to 'contrib/python/python-dateutil/py3/dateutil/test/test_utils.py')
0 files changed, 0 insertions, 0 deletions