diff options
| author | Yaroslav Dynnikov <[email protected]> | 2025-06-11 17:36:42 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-06-11 14:36:42 +0000 |
| commit | b6b134581d3deb3c4623363bf008b40f9266d274 (patch) | |
| tree | d2f7f7c1031496df6fa51cd55fe746172b714977 /contrib/python/python-dateutil/py2 | |
| parent | 8f8f7f8950ff20380ae6a635c3bcfaf94bbe3169 (diff) | |
Handle GroupSizeInUnits in YardInit (#19193)
This PR includes the following changes:
- TEvYardInit now includes GroupSizeInUnits parameter
- PDisk copies it from YardInit to OwnerData
- OwnerData is persisted in `TPDisk::WriteSysLogRestorePoint` and loaded in `TPDisk::ProcessChunk0`
- Owner quota in TChunkTracker is calculated based on the weight obtained from `TPDiskConfig::GetOwnerWeight(groupSizeInUnits, slotSizeInUnits)`
- `TPDisk::NumActiveSlots` now returns the sum of owner weights
- Add unit test for `TPDiskConfig::GetOwnerWeight`
- Add unit test `TChunkTrackerTest::AddOwnerWithWeight`
- Add tests `GroupSizeInUnits` with bscontroller, actor system, and mocked pdisks
Part of #17357
Diffstat (limited to 'contrib/python/python-dateutil/py2')
0 files changed, 0 insertions, 0 deletions
