| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
4fbdf2c6326bb76d9e4f3f771383bc2b00a8d3e2
|
| |
|
|
|
|
|
|
| |
This reverts commit d9b67f1778da2d15dd94f7285afe4e3490a233ab, reversing
changes made to 461a09e0c18bd14cef7df8060e7f9537e3ad74b5.
92cdaf4185661b7058f6a30d5a532ad40b725345
|
|
|
|
| |
71ff0471827f8bde6feb9549ead39faefb7f9b0f
|
|
|
|
|
| |
Всегда ожидает Close event от СДК, но проверяет таймаут ожидания. Проверка активности соединения, по таймауту сделает реконект. Немного снижено потребление cpu.
4c41128e833c27cea3d1eb0a90c086d1a328f282
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
deps on global variables
What happened:
1. error contents has been split into stripped_error and error. stripped_error contains the error itself (with attributes for now) and macros; error contains stripped_error and some extensions, namely, functions to get fiberId, hostname and traceid/spanid and all functions used to (de-)serialize error. This means that you cannot print error if you only include stripped_error, therefore you are likely to still require the entire error.h at the moment.
2. Mechanic for gathering origin attributes has been moved to newly created library/cpp/yt/error thus having no dependency on fibers, net or tracing. stripped_error uses these attributes as extendable semi-erased (meaning, you still would have to add a field and recompile the entire thing, but you don't have to introduce an extra dependency) storage for a bunch of attributes
3. Parsing of said attributes is done in error file (and not stripped_error).
P.S. So far the plan is to eventually move stripped_error (once dependency on core/ytree/attributes is eliminated) without any actual change to dependency graph of anything outside of core (e.g. you would still have to include misc/error.h to use it). Next step would be re-teaching the error how to print, which would move some more methods from core to the standalone module. After that one could finally depend on the error itself and not the entire core.
Annotations: [nodiff:caesar]
66615172181355821241d2e5f8e4a0f15e0ea791
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Static analysis enabled for TError creation and related macros
TRuntimeFormat can be used to disable this feature, but requires copying the viewed object.
See NYT::TError::DisableFormat overloads to optimize constructions which want to move the given string
Note to future readers: TError is not "perfect-forwarding" unfriendly class. This means that the code
```
template <class... TArgs>
TError MakeError(TArgs&&... args) {
return TError(std::forward<TArgs>(args)...);
}
```
will not compile and needs to be properly adjusted (see. TError::Wrap for implementation example)
This implies that emplace construction in containers will not work either. Use move construction instead, as it is simply a pointer swap and therefore free
Annotations: [nodiff:caesar]
cff12f05849402d09a4487bad26ffcd968215dc7
|
|
|
|
| |
637fa63ff4633dd45416c48e111f38493cc00cf0
|
|
|
|
| |
4356fc70f6d9ceec9f94b1879f49e27f3fee4342
|
|
|
|
| |
d080266c9235a1852d0115157e87a090c7fe63e1
|
|
|
|
|
| |
в файле инклудится <util/generic/variant.h> и стандартный <variant>. первый не нужен
709de82918fedf806787c2e3e5c45d89ad8c05fd
|
|
|
|
| |
d9b67f1778da2d15dd94f7285afe4e3490a233ab
|
|
|
|
| |
ac806d9dca9eb257f59d03053b7e5df66c2ddebd
|
|
|
|
| |
d2eedbd0915db362708db2c2602de47ae3836907
|
|
|
|
| |
5a3405e64b730f0056e381af07658d6c2edcb92b
|
|
|
|
| |
c25caa4efe1b2675e1073e26adabad60a16e2e5c
|
|
|
|
| |
9aa0e068d05932c7ea3065408ed3dbb7fddb6321
|
| |
|
|
|
|
|
| |
Allow to read Nan/Inf values from JSON
9fbb79a21d81cf178abc89cd11d7ac75a9a4aaed
|
|
|
|
| |
88507df33d73cfbdf2c61c602f3c3bb51dd48ded
|
|
|
|
| |
02a6763597c97f5fc185ac6ec39b01f7be184a66
|
|
|
|
| |
ec1d0c473e709e8aad76b4e190a75ad4125a9ce2
|
| |
|
|
|
|
| |
d16503c5573e00368ec69f5e18842f6ee36ad057
|
|
|
|
|
|
| |
* Also the same for TMutableRange.
* Add TRange, TMutableRange constructor from std::span.
46da1787e68a922bb65181c63a226a3797edae0b
|
| |
|
|
|
|
| |
26412132206953d6c6817a1bd3b39409273c5e1b
|
|
|
|
| |
082782faf0e6e05d3aa1c56e096d33ea69282f57
|
|
|
|
|
| |
Fix build with system protoc, std::string and system stl
8b5b81b2d7855f6b0dcb4bb0583a6408e5b7d3f7
|
| |
|
|
|
|
|
| |
Начал с того, что просто унес ```url.*``` из ```search/meta``` в ```search/meta/generic```. Закончилось тем, что еще и поотпиливал странные зависимости ```kernel/facts/credibility/database->search/meta``` и ```quality/functionality/facts/credibility/url_trie_map_lib->search/meta``` : общие библитотеки не имеют права зависеть от ```search/meta/*```
c1e3dbc38eff7073949a371f5fc59714eeb9306e
|
|
|
|
|
|
|
|
| |
IsReady returns true if exception or value was set.
allows to check readiness without locking cheсker-thread
NOTE: returns true even if value was extracted from promise
good replace for HasValue() || HasException()
b2d64093e25cef5a350dfebe784c449203a5b383
|
|
|
|
| |
a8fc6fb6a3e68a7885f2f1a9e7b719c180c91a60
|
| |
|
|
|
|
| |
60cd4e201b2b3e51fdb8a6d2413fb376c732ea30
|
|
|
|
| |
2b4749cade5242ec10775c7819c790735f7484b7
|
| |
|
|
|
|
| |
05d2fa4e71c76d7270e78ca7b1ae20a1114f07fa
|
|
|
|
|
|
| |
TAtomicIntrusivePtr
68430c6347c40eee09bc63a3441af024780b86d4
|
| |
|
|
|
|
| |
211b5254a54161c8bb4c4b077c406692e9a20cf6
|
|
|
|
|
| |
https://en.cppreference.com/w/cpp/types/numeric_limits/lowest
349097f620987be824e9db00f76af89746741c75
|
|
|
|
|
|
|
|
|
|
|
|
| |
The new format is better optimized for VectorizedRead, which is needed in Sequoia.
Previously, the output for the BeginCopy verb was a serialized subtree plus the list of opaque children. In a non-Sequoia world, that is useful and easy to work with. However, in Sequoia, a subtree might not be contained on the same cell, which makes it difficult to use the old data transfer format.
Now it's a vector of nodes with clear separation between them. This change makes it easier to work with VectorizedRead since the conversion between BeginCopy return and VectorizedRead(BeginCopy) return is very straight-forward. Additionally, this change helps with copying from Cypress to Sequoia, since now it's much easier to process each node individually (which is needed for Sequoia to work and not clog up one cell).
In the next PR, I'm planning on:
1. Making BeginCopy a read-request (removing snapshot locks). So the verb will only return meta-information about the requested nodes.
2. Adding a verb, executed before BeginCopy, where the locks would be taken and the general structure of the tree is returned.
017ec9971e8e0a611a7286ed748b6071cfc89048
|
| |
|
|
|
|
| |
089f70efa4e50032e1c73e5c556363fa355eb4dc
|
|
|
|
| |
05b33663c7ed371efb2b290505bd8b9d8a9f1d0f
|
|
|
|
| |
3ce1f2a59c087222badce66a8c7043e77907f530
|
|
|
|
| |
e5feb0553ad2842db9974979d9808105e6c5ba34
|