Skip to content

[2/n][fm] factor restart_id and time_created out of EreportData#10631

Open
hawkw wants to merge 1 commit into
mainfrom
eliza/restart-order-ereport-refactor
Open

[2/n][fm] factor restart_id and time_created out of EreportData#10631
hawkw wants to merge 1 commit into
mainfrom
eliza/restart-order-ereport-refactor

Conversation

@hawkw

@hawkw hawkw commented Jun 16, 2026

Copy link
Copy Markdown
Member

Depends on #10618

This is a small refactor which I discussed in this comment on #10618. As part of that branch, I changed the DataStore::ereports_insert method to take the restart ID and time_collected timestamp as arguments to the method, since they are used for populating the restart entry. This results in the same values also being passed as part of the EreportData structs that represent the individual ereports to insert. This is unfortunate because it results in having to duplicate those values, but more importantly, because it allows them to differ when they should always be the same. This branch fixes that.

@hawkw hawkw added the fault-management Everything related to the fault-management initiative (RFD480 and others) label Jun 18, 2026
Base automatically changed from eliza/ereport-restart-order-v2-final to main June 18, 2026 21:25
@hawkw hawkw force-pushed the eliza/restart-order-ereport-refactor branch from 6242a48 to 0b4a9d2 Compare June 18, 2026 22:18
@hawkw hawkw requested a review from smklein June 18, 2026 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fault-management Everything related to the fault-management initiative (RFD480 and others)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant