Skip to content

Conversation

@suzuki-shunsuke
Copy link
Contributor

When migrating logs to S3, save the last migrated log id at DB and in the next time migrate logs from the next id.
Before we stop the Drone for its upgrade, we can migrate almost logs online so we can really decrease the downtime for the upgrade.
It takes a very long time to migrate logs to S3 if the logs table is huge, so this feature is very important.

When migrating logs to S3, save the last migrated log id at DB and in the next time migrate logs from the next id.
Before we stop the Drone for its upgrade, we can migrate almost logs online so we can really decrease the downtime for the upgrade.
It takes a very long time to migrate logs to S3 if the logs table is huge, so this feature is very important.
@suzuki-shunsuke
Copy link
Contributor Author

If you have a better idea about the table and variable name, please tell me.
I want to change the table name last_migrated_log_id and variable name LastMigratedLogID to better names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant