fix(odm): expose store context after relocation

Expose the ECStore instance context through a narrow accessor so relocated on-demand migration backfill code no longer reaches into private storage fields.

Declare the faster-hex dependency used by the relocated native HTTP source implementation.

Co-Authored-By: heihutu <heihutu@gmail.com>

Co-Authored-By: zhi22915 <qiuzgang@gmail.com>
This commit is contained in:
houseme
2026-09-06 02:02:35 +08:00
parent 37667edf48
commit 7983a26269
4 changed files with 11 additions and 5 deletions
+4
View File
@@ -707,6 +707,10 @@ impl std::fmt::Debug for ECStore {
/// These delegate to the process-global statics. No local state — the globals
/// remain the single source of truth until the migration is complete.
impl ECStore {
pub fn instance_ctx(&self) -> &Arc<InstanceContext> {
&self.ctx
}
/// Every erasure set across all pools, pool-major order.
///
/// Read-only queries that must consult each set's own copy of a