Skip to content

Conversation

@gregolsky gregolsky self-requested a review September 8, 2025 09:47


class DatabaseSpec(object):
def __init__(self, url, name, replication_factor=1, settings=None, encryption=None, members=None):
Copy link
Member

Choose a reason for hiding this comment

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

replication_factor set to 1 by default encourages lack of high availability. RavenDB Studio itself creates the db on all nodes. Can we do this here too?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Member

@gregolsky gregolsky left a comment

Choose a reason for hiding this comment

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

Please see my comments

return ModuleResult.ok(msg=msg.members_would_reconcile(spec.name, to_add, to_remove), changed=True)
base_msg = msg.members_reconciled(spec.name, to_add, to_remove)
created = True
return ModuleResult.error(msg="topology_members is only supported on database creation; modifying an existing database topology is blocked.")
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
return ModuleResult.error(msg="topology_members is only supported on database creation; modifying an existing database topology is blocked.")
return ModuleResult.error(msg="topology_members is only supported on database creation; modifying an existing database topology is not supported.")

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@gregolsky gregolsky merged commit 93dae62 into main Sep 16, 2025
22 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