diff options
| author | ijon <[email protected]> | 2026-06-02 22:18:18 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-06-02 19:18:18 +0000 |
| commit | 7a8d955375903345206862e3c54c03290005884d (patch) | |
| tree | e296e2ac7d68a32ee14fb2e2eddb32fd0ed06115 /contrib/python/ipython/py2/IPython/sphinxext | |
| parent | 868bb7a5b3ee7752457d82e4de7a1ef61f2c195d (diff) | |
schemeshard: measure TTableInfo::VerifyConsistency() time (#42201)
Add a cumulative counter (TablePartitionsConsistencyCheckTimeNs)
accumulating the nanoseconds spent in TTableInfo::VerifyConsistency(),
so the O(N) check's production cost is observable.
VerifyConsistency: time the body with THPTimer into the new mutable
LastVerifyConsistencyTime. Gate the whole check behind the new
EnableTablePartitionsConsistencyCheck feature flag (default on); when
off, return early and reset LastVerifyConsistencyTime to 0.
The partitioning calls that run the check — SetPartitioning,
MovePartitioning, CopyPartitioning, ApplySplitMerge, and move_table —
increment the counter by LastVerifyConsistencyTime afterwards.
Diffstat (limited to 'contrib/python/ipython/py2/IPython/sphinxext')
0 files changed, 0 insertions, 0 deletions
