Repository navigation
fix(umbp): backend-policy SSD instances keep the UMBP_SSD_* settings - #967
Conversation
ApplyBackendPolicy built each policy SSD instance from a default UMBPSsdConfig, while the DRAM branch starts from config->dram. A standalone server started with UMBP_BACKEND_POLICY therefore ignored every UMBP_SSD_* setting: it ran durability=strict and verify_crc=true under UMBP_SSD_DURABILITY=relaxed and UMBP_SSD_VERIFY_CRC=0, with the default segment size as well. The policy JSON has no per-backend SSD keys, so nothing could set them. Start from config->ssd, then apply the policy's capacity and path. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
GPU CI for
Test groups (the steps that run in those jobs): umbp. Lanes follow the changed files. Adding |
|
Sorry for the close/reopen noise on this PR. I closed and reopened it only to re-trigger its CI on the current main. PR CI there runs just the tests that a PR's changed files need (#970), and a plain re-run would have kept the old workflow, which runs the full suite. It took two rounds, because the first reopen still picked up the old merge commit. Nothing in the PR was changed, and the earlier runs that were still queued were cancelled. CI for this PR now runs only the build and the UMBP unit test, instead of every lane. |
Problem
ApplyBackendPolicybuilds each DRAM instance fromconfig->dram, but each SSD instance from a defaultUMBPSsdConfig. A standalone server started withUMBP_BACKEND_POLICYtherefore ignores everyUMBP_SSD_*setting (durability, CRC, segment size, ...) on its policy SSD backends. A policy backend only acceptstype,capacity,path,staging_slotsandmin_object_size, so these settings can't be set any other way.Seen in a DeepSeek-V4-Pro pure-SSD run on main 7c27c14, with
UMBP_SSD_DURABILITY=relaxed,UMBP_SSD_VERIFY_CRC=0and two policy SSD backends per node:Fix
Start each policy SSD instance from
config->ssd, the same way the DRAM branch starts fromconfig->dram, then apply the policy's capacity and path. A multi-drive list arrives throughstorage_dir, which the policy overwrites, so each policy backend still gets only its own path.With the fix, the same run logs:
Tests
test_umbp_backend_policy_confighas a new case,SsdPolicyKeepsPeerSsdSettings.verify_crcis true,durability.modeis Strict, andsegment_size_bytesis 4 GiB instead of 256 MiB.🤖 Generated with Claude Code