Skip to content
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

Archive migration online #75

Merged
merged 7 commits into from
Oct 17, 2024
Merged

Archive migration online #75

merged 7 commits into from
Oct 17, 2024

Conversation

Kbhat1
Copy link
Contributor

@Kbhat1 Kbhat1 commented Sep 18, 2024

Describe your changes and provide context

  • Adds setting latest migrated key and module and restarting from there

Testing performed to validate your change

  • Verifying on node migration

if counter%ImportCommitBatchSize == 0 {
startTime := time.Now()

Check warning

Code scanning / CodeQL

Calling the system time Warning

Calling the system time may be a possible source of non-determinism
panic(err)
}

fmt.Printf("Time taken to write batch counter %d: %v\n", counter, time.Since(startTime))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this log be too annoying?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also I wonder if there's a way to track the current progress of how many modules has been migrated till now?

@Kbhat1 Kbhat1 merged commit bfe1190 into main Oct 17, 2024
4 of 5 checks passed
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.

2 participants