| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Make `NKikimr::Tests::TClient::{CreateUser,ModifyACL,Grant,GrantConnect}()` to behave the same as all other TClient operation methods -- -- return operation status and not assert for it to be a success. Intended use for plain TClient operation methods is to call them and check for the result status in the test body.
Add (some) `Test*()` variants that do additionally check for the success. Those are convenient in test context preparations.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Co-authored-by: anton-bobkov <anton-bobkov@ydb.tech>
Co-authored-by: Ivan Blinkov <ivan@ydb.tech>
|
| |
|
| |
|
|
|
| |
Co-authored-by: Ivan Blinkov <ivan@ydb.tech>
|
| |
|
|
|
|
| |
(#13969)
|
| |
|
|\ |
|
| |
| |
| |
| | |
commit_hash:545a26a536cd6d96f1ae5f75d7ac4d6721071865
|
| |
| |
| |
| | |
commit_hash:6a26ba0b6c313e074c878283bef4e38284f3450f
|
| |
| |
| |
| |
| |
| |
| | |
1. All transactions that are marked as StronglyOrdered will be ordered by commit timestamp. When transaction is committed it is marked as ReadyToCommit instead. ReadyToCommit can be committed when its commit timestamp is less then minimum prepared timestamp for all currently prepared strongly ordered transactions
2. All strongly ordered transaction now have a sequence number, that helps to implement WaitUntilPreparedTransactionsFinished
commit_hash:aebb6540240603ca4ea28825ae09317d608b9865
|
| |
| |
| |
| |
| | |
The ASAN flag for detecting ODR violations has been set to its **++default++** value (2).
commit_hash:7475c1eb748fa0704d3db551189591c87ce5357d
|
| |
| |
| |
| | |
commit_hash:dad3368a28275822296201186f2b0645f7404837
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Master is currently swarming with raw object pointers and this is not likely to change much in the nearest future.
Goal 1: For production/prestable builds: prevent master from writing inconsistent and broken snapshots from state containing dangling pointers.
Goal 2: For testing/debug builds: enable early detection of dangling pointer use.
Enter ROPSan: Raw Pointer Object Sanitizer!
`TRawObjectPtr<T>` is a drop-in replacement for `T*` that is 95%-compatible with raw pointer. For convenience, `TSomethingRawPtr` is auto-declared for each master type `TSomething`.
One need not replace `T*` with `TRawObjectPtr<T>` everywhere but is expected to do so for fields comprising master state (these are serialized in `Save/Load/Persist` methods). To incentivize this, we are no longer providing automatic serializers for raw pointers to master object types.
In release build, `TRawObjectPtr<T>` reduces to a trivial wrapper around `T*` and is not expected to cause any overhead.
In checked builds, `TRawObjectPtr` becomes tagged: its highest 16 bits are used to (statistically) detect use-after-free scenarios. Each `TObject` is also tagged with a random 16-bit value during construction. This tag is read from the object and is incorporated into `TRawObjectPtr` upon conversion for raw pointer. Tags are checked each time `TRawObjectPtr` is used. When an object is destructed, its tag is overwritten with `0xdead` sentinel value.
See `yt/yt/server/master/object_server/public.h` for a detailed list of control knobs.
commit_hash:b0a4cd39f0cbae7ca5c7486fd7fca4a32ad4cffe
|
| |
| |
| |
| | |
commit_hash:5a74bff5b91faa7db270bfa5446a23795862b6db
|
| |
| |
| |
| | |
commit_hash:a4ecfb1e06e82ba192646d3ab5417cb3f0c6991f
|
| |
| |
| |
| | |
commit_hash:ddaf1287b2dc5f31850efc0db9ce71f04beca9bc
|
| |
| |
| |
| | |
commit_hash:ee709cc1095985919972e31b34d0127eb322959f
|
| |
| |
| |
| | |
commit_hash:20c3eb2f2d78b5f654ec928c071692413a1bd96d
|
| | |
|
| | |
|
| | |
|
| | |
|
| | |
|
|\| |
|
| |
| |
| |
| | |
commit_hash:e1bc8fcc8eea19d9168fa25f52d57f6619cb45f7
|
| |
| |
| |
| | |
commit_hash:7d5a6670b49689edeea2d97d31194406bdb9724d
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1. Prevent concurrent crashes to interleave in stderr
2. Cleaner and more compact formatting of registers dump
3. Omit `OLDMASK` (nobody seems to know what is it for)
4. Don't print the top backtrace frame twice
5. Code cosmetics
commit_hash:f7a4c960b3400d6dfb0f8f60317aa524611d2fd0
|
| |
| |
| |
| | |
commit_hash:a4868debc9fcd0aeb8f0f55fc5c5aa939fda6dbd
|