stargate / data-api

JSON document API for Apache Cassandra (formerly known as JSON API)
https://stargate.io
Apache License 2.0
12 stars 16 forks source link

Fix #1194: change max-collection/max-indexes-available setting (double up) #1195

Closed tatu-at-datastax closed 1 week ago

tatu-at-datastax commented 1 week ago

What this PR does:

Increases 2 default settings for DB config:

  1. Max collections allowed from 5 to 10
  2. Max indexes available per DB from 50 to 100

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

Checklist

tatu-at-datastax commented 1 week ago

@Hazel-Datastax @jeffreyscarpenter Are we good here? Regardless of deployment defaults, this helps avoid too strict settings for other use cases.

tatu-at-datastax commented 1 week ago

@vkarpov15 Sort of: there is a related change to relax actual backend guardrail limit (already merged): will only affect new DBs however. But the combination will raise limit to 10/100 as the new baseline.

jeffreyscarpenter commented 1 week ago

Just checking that these changes will affect Astra as well? This change will be very helpful and alleviate my current biggest pain point with Data API 👍

No, they don't affect Astra. That is configured separately. However, for completeness I will note that the Astra settings have been changed (coincidentally) to 10 collections / 100 SAI for new databases created after 7/24/2024.