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

Fixes #797: update document limits in CONFIGURATION.md #799

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

tatu-at-datastax
Copy link
Contributor

What this PR does:

Updates CONFIGURATION.md with actual default values defined in code

Which issue(s) this PR fixes:
Fixes #797

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@tatu-at-datastax tatu-at-datastax self-assigned this Jan 16, 2024
@tatu-at-datastax tatu-at-datastax requested a review from a team as a code owner January 16, 2024 17:50
| Property | Type | Default | Description |
|-----------------------------------------------------------|-------|---------|---------------------------------------------------------------------------------------------------|
| `stargate.database.limits.max-collections` | `int` | `5` | The maximum number of Collections allowed to be created per Database. |
| `stargate.database.limits.indexes-needed-per-collection` | `int` | `10` | Number of indexes needed per Collection (to determine if a new Collection may be added). |
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Note: only used to see if "one more" Collection may be created: not used to figure out maximum number allowed (hence need not necessarily be exactly accurate -- currently I think we need 8 or 9 indexes depending on if $vector is included).

@tatu-at-datastax tatu-at-datastax merged commit 8bcf303 into main Jan 16, 2024
@tatu-at-datastax tatu-at-datastax deleted the tatu/797-update-CONFIG.md branch January 16, 2024 18:55
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.

Sync Document Limit settings to jsonapi /CONFIGURATION.md
3 participants