-
Notifications
You must be signed in to change notification settings - Fork 279
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
fix lock table move failed #17092
fix lock table move failed #17092
Conversation
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Reviewer Guide 🔍
|
PR-Agent was enabled for this repository. To continue using it, please link your git user with your CodiumAI identity here. PR Code Suggestions ✨
|
User description
What type of PR is this?
Which issue(s) this PR fixes:
issue #https://github.com/matrixorigin/MO-Cloud/issues/3538
What this PR does / why we need it:
fix lock table move failed
PR Type
Bug fix, Tests
Description
lock_table_allocator.go
.popGroupTables
totopGroupTables
and added logging for service status and lock table binds inlock_table_keeper.go
.log.go
.topGroupTables
inservice.go
.TestIssue3538
to cover the lock table move issue inservice_test.go
.Changes walkthrough 📝
lock_table_allocator.go
Add logging for restart service and group table moves
pkg/lockservice/lock_table_allocator.go
lock_table_keeper.go
Modify group table method and add logging
pkg/lockservice/lock_table_keeper.go
popGroupTables
totopGroupTables
.log.go
Add logging functions for service status and binds move
pkg/lockservice/log.go
service.go
Add logging and new method for group tables
pkg/lockservice/service.go
topGroupTables
to retrieve the top group tables.canLockOnServiceStatus
method.service_test.go
Add test for lock table move issue
pkg/lockservice/service_test.go
TestIssue3538
to cover the lock table move issue.