-
Notifications
You must be signed in to change notification settings - Fork 37
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
Update documentation for the repair feature #1300
Conversation
admin.repairNamespace("ns", options); | ||
``` | ||
|
||
### Repair a table |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Even though the Admin API repairTable()
method has existed since v3.6. A section in the api-guide and storage-abstraction docs was never added. Since the content will be different for the older doc versions since the method behavior is changing for the next release, I will create another PR for it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've added some minor suggestions. PTAL!
schema-loader/src/main/java/com/scalar/db/schemaloader/SchemaLoader.java
Outdated
Show resolved
Hide resolved
schema-loader/src/main/java/com/scalar/db/schemaloader/SchemaLoader.java
Outdated
Show resolved
Hide resolved
schema-loader/src/main/java/com/scalar/db/schemaloader/SchemaLoader.java
Outdated
Show resolved
Hide resolved
schema-loader/src/main/java/com/scalar/db/schemaloader/SchemaLoader.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Josh Wong <joshua.wong@scalar-labs.com>
3743849
to
858fab4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've left one formatting-related suggestions. Other than that, LGTM! Thank you🙇🏻♂️
Co-authored-by: Josh Wong <joshua.wong@scalar-labs.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! Thank you!
Description
The Admin API
repairTable()
method has existed since v3.6, but its behavior has changed (cf. #1125). Also, a newrepairNamespace
method was added to the Admin API (#1107). Finally, the--repair-all
command of the Schema Loader will not only repair table but also repair namespace. (#1203)This PR will update the documentation for these changes.
Related issues and/or PRs
--repair-all
command will also repair namespaces #1203Changes made
repairTable
andrepairNamespace
repairTable
andrepairNamespace
Checklist
Additional notes (optional)
N/A
Release notes
N/A