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

Convert diskManager to typescript #4195

Merged
merged 5 commits into from
Oct 28, 2022
Merged

Convert diskManager to typescript #4195

merged 5 commits into from
Oct 28, 2022

Conversation

jonaylor89
Copy link
Contributor

@jonaylor89 jonaylor89 commented Oct 27, 2022

Description

This PR converts diskManager.js to typescript. It also removes the diskManager class since it was all static members in favor of just a collection of exported functions

Tests

Just using integration tests and maddog to make sure nothing breaks

Monitoring - How will this change be monitored? Are there sufficient logs / alerts?

This change will be monitored with the type checker

@jonaylor89 jonaylor89 marked this pull request as ready for review October 27, 2022 04:58
Copy link
Contributor

@theoilie theoilie left a comment

Choose a reason for hiding this comment

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

it's hard to see the actual changes since GitHub doesn't put it side-by-side after renaming JS->TS but it looks good from what I can tell. after resolving merge conflicts I'd want to do an extra test on staging for orphaned data recovery and Dheeraj's disk sweep since those won't necessarily bubble up any obvious errors

@jonaylor89 jonaylor89 merged commit 74c1a5e into main Oct 28, 2022
@jonaylor89 jonaylor89 deleted the jn-type-disk-manager branch October 28, 2022 15:11
dmanjunath pushed a commit that referenced this pull request Oct 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants