| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Update tools: yexport
|
| |
|
| |
|
|
|
|
| |
Update tools: yexport
|
|
|
|
|
|
| |
форвардится
Change std::move to std::forward
|
|
|
|
| |
заголовков
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
opensource
|
|
|
|
|
|
| |
Без этого, ydb или не сможет запускать flake8 с помощью ya make.
Или к ним поедет сборка flake8.
Возможно последнее и не так плохо, но сейчас предлагается пока так
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en
In addition to #89, there is one more minor fix. GCC doesn't allow putting `__attribute__((weak))` before the `extern "C"` and produces non-weak symbols. Proof: https://godbolt.org/z/h48fYsGMW
---
Pull Request resolved: #96
|
| |
|
| |
|
|
|
|
| |
size in logs up to 64kb
|
| |
|
| |
|
| |
|
|
|
|
| |
Add arrow writer
|
|
|
|
| |
from coredump_filter
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
With single poller thread on incoming connections, every OS scheduler latency on this thread wakeup directly affects requests timings. With oneshot poll events, we can poll on the same poller from many threads, and, if one thread has stalled for some reason, some other will take it's work on the next incoming event. So:
- make vector of listener threads instead of single one;
- add nListenerThreads option;
- stop request queues and listening sockets from the last finished thread;
- check incoming options and set OneShotPoll if needed.
There is a problem around removing connections on MaxConnections limit or ExpirationTimeout. There is no simple way to safely remove items from epoll (https://lwn.net/Articles/520012/) if it has raw pointers in event data. Try to handle it via postponed deletion of connection objects, wait until all listener threads are ready to reenter poller wait and there are no threads where deleted object can be used:
- close socket immediately after remove from poller, but instead of immediate TClientConnection destruction, put it to "pending delete" list;
- add cleanup state with thread mask, each bit stating that corresponding thread should reenter poller;
- call Cleanup routine before each poller wait, it will switch to 0 current thread's bit for each pending connection;
- when thread mask becomes all zero, really delete the connection;
- force there is a timeout for poller wait, ensure that all threads do reenter;
- add more configurations for some tests.
There is no significant changes or overhead for standard case with single listener thread, cleanup and pending deletion are just skipped. Also there is no overhead for common case where removing connections is rare. Here is the same review with nListenerThreads = 4 by default https://a.yandex-team.ru/review/4413226.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Локально упавший тест выполняется
%%
vvvv@mr-nvme-testing-08:~/repo/arcadia/statbox/nile/tests/yql/py2/part_2$ arc checkout move_udf_test_and_refactor_tf
Switched to branch 'move_udf_test_and_refactor_tf'
vvvv@mr-nvme-testing-08:~/repo/arcadia/statbox/nile/tests/yql/py2/part_2$ ya make -tA -F '*test_unchanged_table*'
Warn[-WPluginErr]: in $B/statbox/nile/tests/yql/py2/part_2/libpy2-part_2.so: Requirement cpu is redefined 2 -> 4
Warn[-WPluginErr]: in $B/statbox/nile/tests/yql/py2/part_2/libpy2-part_2.so: Requirement ram is redefined 16 -> 9
Number of suites skipped by name: 2, by filter *test_unchanged_table*
Total 1 suite:
1 - GOOD
Total 4 tests:
4 - GOOD
Ok
%%
судя по ошибке он flaky
|
| |
|
| |
|
| |
|
|
|
|
|
| |
- apply one shot poll (under option) for listening socket too;
- some code rearrangements.
|
| |
|
| |
|
|
|
|
|
| |
removed a lot of typedefs and turned a couple of std::pairs into
something more meaningful
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
contrib/python/requests/py2 depends on LGPL-licensed chardet module, we do not want this.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- move out listener and thread pools initialization stage from listener thread (no actual changes, this part of code was awaited via ListenStartEvent anyway) ;
- remove ListenerStartEvent and ListenerRunningOK flag, no use now;
- make Reqs list of listening sockets class member;
- leave Reqs list destruction in listener thread (it should happen just after Shutdown but after polling loop stopped to prevent races);
- ut for server startup fail.
|
|
|
|
| |
move code
|
| |
|
|
|
|
|
|
|
|
| |
Two issues remain unfixed:
```
[fail] library/python/pytest/rewrite.py:96: [PLW0122] Use of exec (exec-used)
[fail] library/python/pytest/yatest_tools.py:49: [F821] undefined name 'unicode'
```
|