Skip to content

Add Recovery and Rebalance#8

Merged
pavlosg merged 1 commit into
couchbaselabs:mainfrom
chiragbytes7:add-failover-and-rebalance
Apr 2, 2026
Merged

Add Recovery and Rebalance#8
pavlosg merged 1 commit into
couchbaselabs:mainfrom
chiragbytes7:add-failover-and-rebalance

Conversation

@chiragbytes7

@chiragbytes7 chiragbytes7 commented Mar 13, 2026

Copy link
Copy Markdown
Contributor

Add recovery and Rebalance functionality to run after failover and recovery

@chiragbytes7 chiragbytes7 force-pushed the add-failover-and-rebalance branch from 38290af to 56c7cb2 Compare March 13, 2026 12:58
@chiragbytes7

Copy link
Copy Markdown
Contributor Author

Used Camel case for variable name and also renamed the functions to be verb Phrases by convention

@pavlosg

pavlosg commented Mar 16, 2026

Copy link
Copy Markdown
Collaborator

As it is no recovery happens. Have you tested it?

@chiragbytes7

chiragbytes7 commented Mar 18, 2026

Copy link
Copy Markdown
Contributor Author

There was a typo, got that fixed
Added polling to check for rebalance status similar to db's setup
Current : failover + recovery + rebalance (working, verified with ui and logs)

@chiragbytes7 chiragbytes7 force-pushed the add-failover-and-rebalance branch from 56c7cb2 to d7ff279 Compare March 18, 2026 10:53
Comment thread src/gorgon_couchbase/kv/failover_recovery.go Outdated
Comment thread src/gorgon_couchbase/kv/failover_recovery.go Outdated
Comment thread src/gorgon_couchbase/kv/failover_recovery.go
@chiragbytes7 chiragbytes7 force-pushed the add-failover-and-rebalance branch 2 times, most recently from 14fd68f to 0f9bc46 Compare March 19, 2026 13:41
Comment thread src/gorgon_couchbase/kv/db.go Outdated
Comment thread src/gorgon_couchbase/kv/db.go
@chiragbytes7 chiragbytes7 force-pushed the add-failover-and-rebalance branch 5 times, most recently from 8af3ccf to b8b7643 Compare March 23, 2026 05:15
@chiragbytes7

Copy link
Copy Markdown
Contributor Author

Refactored db's rebalance method to be able to specify the apiNode, reusing that in both ( failover + recovery ) and (rebalance-scenarios) to avoid redundancy
kindly verify and let me know.

@chiragbytes7 chiragbytes7 force-pushed the add-failover-and-rebalance branch 2 times, most recently from 55aaed8 to b1630c1 Compare March 24, 2026 05:38
Comment thread src/gorgon_couchbase/kv/rebalance_scenarios.go Outdated
Comment thread src/gorgon_couchbase/kv/rebalance_scenarios.go Outdated
@chiragbytes7 chiragbytes7 force-pushed the add-failover-and-rebalance branch from b1630c1 to 060c6e2 Compare March 24, 2026 15:42
Comment thread src/gorgon_couchbase/kv/failover_recovery.go
Comment thread src/gorgon_couchbase/kv/rebalance_scenarios.go Outdated
Comment thread src/gorgon_couchbase/kv/rebalance_scenarios.go Outdated
Add Rebalance functionality to run after failover and recovery
@chiragbytes7 chiragbytes7 force-pushed the add-failover-and-rebalance branch 3 times, most recently from 38f4e79 to e7da02a Compare March 25, 2026 12:58
@pavlosg pavlosg merged commit 212d9d1 into couchbaselabs:main Apr 2, 2026
1 check 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