mirror of
https://github.com/neondatabase/neon.git
synced 2026-06-05 06:20:37 +00:00
storcon: use the same trace fields for reconciler and results (#9410)
## Problem The reconciler use `seq`, but processing of results uses `sequence`. Order is different too. It makes it annoying to read logs. ## Summary of Changes Use the same tracing fields in both
This commit is contained in:
@@ -1074,8 +1074,9 @@ impl Service {
|
||||
/// the observed state of the tenant such that subsequent calls to [`TenantShard::get_reconcile_needed`]
|
||||
/// will indicate that reconciliation is not needed.
|
||||
#[instrument(skip_all, fields(
|
||||
tenant_id=%result.tenant_shard_id.tenant_id, shard_id=%result.tenant_shard_id.shard_slug(),
|
||||
sequence=%result.sequence
|
||||
seq=%result.sequence,
|
||||
tenant_id=%result.tenant_shard_id.tenant_id,
|
||||
shard_id=%result.tenant_shard_id.shard_slug(),
|
||||
))]
|
||||
fn process_result(&self, result: ReconcileResult) {
|
||||
let mut locked = self.inner.write().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user