Skip to content

refactor: ota_metadata.file_table: add ft_resource table, refine iter_common_digest #493

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 24 commits into
base: refactor/file_table_order_by_digest
Choose a base branch
from

Conversation

Bodong-Yang
Copy link
Member

@Bodong-Yang Bodong-Yang commented Feb 25, 2025

Introduction

Inspired by new OTA image, this PR introduces to add ft_resource table into the file_table database, and use resource_id instead of actual digest in ft_regular table to make the file_table database more efficient.

Tests

  • local pytest passed.
  • OTA e2e with VM passed.

https://tier4.atlassian.net/browse/RT4-14861

…e, no need to use pagination

change all the tables to without_rowid table
@Bodong-Yang Bodong-Yang force-pushed the refactor/file_table_rs_manifest branch from d156380 to 46cbe01 Compare February 25, 2025 05:55
@Bodong-Yang Bodong-Yang changed the title [WIP] refactor: ota_metadata.file_table: add ft_resource table, refine iter_common_digest refactor: ota_metadata.file_table: add ft_resource table, refine iter_common_digest Feb 25, 2025
@Bodong-Yang Bodong-Yang added the refactor Rewrite/remove related code instead of patching them label Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Rewrite/remove related code instead of patching them
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant