Background
TrafficFilter and Filter.period are both filter/search related surfaces with chrono timestamp values. TrafficFilter stores modification timestamps, while Filter.period can store custom search periods containing two DateTime<Utc> values.
Prerequisites
- Default bincode table value baseline has landed.
- The table-value implementation umbrella is open and linked.
- Old-byte fixture coverage for the exact
TrafficFilter and Filter.period stored values exists before production type changes are made, or this issue adds that fixture coverage first.
Scope
- Migrate
TrafficFilter.last_modification_time.
- Migrate
TrafficFilter.update_time.
- Migrate
PeriodForSearch::Custom used by Filter.period.
- Preserve stored bincode compatibility where possible.
Acceptance criteria
- Old
TrafficFilter stored bytes remain readable, or data migration is explicitly implemented.
- Old
Filter.period stored bytes remain readable, or data migration is explicitly implemented.
- Custom period range semantics are preserved.
- Public/API impact for filter/search wrappers is visible in tests or compile checks.
- Any remaining chrono usage in the touched filter/search surfaces is explicitly justified.
Out of scope
- Event query time filters outside these table values.
- Final chrono dependency cleanup.
Notes
Related discussion: #733
Background
TrafficFilterandFilter.periodare both filter/search related surfaces with chrono timestamp values.TrafficFilterstores modification timestamps, whileFilter.periodcan store custom search periods containing twoDateTime<Utc>values.Prerequisites
TrafficFilterandFilter.periodstored values exists before production type changes are made, or this issue adds that fixture coverage first.Scope
TrafficFilter.last_modification_time.TrafficFilter.update_time.PeriodForSearch::Customused byFilter.period.Acceptance criteria
TrafficFilterstored bytes remain readable, or data migration is explicitly implemented.Filter.periodstored bytes remain readable, or data migration is explicitly implemented.Out of scope
Notes
Related discussion: #733