• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

databendlabs / openraft / 20650878797

02 Jan 2026 04:10AM UTC coverage: 87.477% (-0.1%) from 87.604%
20650878797

push

github

Claude
change: remove redundant `backtrace` field from `StorageError`

The `backtrace` is already stored in the `source` field via `ErrorSource`,
making the separate field redundant. When serializing, the backtrace is
included in the serialized `source`, so storing it separately duplicates
data and increases memory footprint.

Changes:
- Remove `backtrace` field from `StorageError` struct
- Add backward compatibility test for deserializing old format with `backtrace` field

Upgrade tip:

No code changes required. The `backtrace` field was redundant and is now
only available through `source.backtrace`.

Serialization changes:
- New serialized format no longer includes the top-level `backtrace` field
- Old serialized data with `backtrace` field still deserializes correctly (ignored)
- New format is compatible with older versions that ignore unknown fields

7 of 7 new or added lines in 1 file covered. (100.0%)

71 existing lines in 4 files now uncovered.

15424 of 17632 relevant lines covered (87.48%)

162065.65 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/openraft/src/error/error_source.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc