Skip to content

fix: exclude soft-deleted databases from table count#27289

Open
kallydev wants to merge 1 commit intoinfluxdata:mainfrom
kallydev:fix-27281
Open

fix: exclude soft-deleted databases from table count#27289
kallydev wants to merge 1 commit intoinfluxdata:mainfrom
kallydev:fix-27281

Conversation

@kallydev
Copy link

@kallydev kallydev commented Mar 19, 2026

Closes #27281

InnerCatalog::table_count() was including tables from soft-deleted databases, causing writes to fail with TooManyTables even after a database was deleted.

  • I've read the contributing section of the project README.
  • Signed CLA (if not already signed).

@philjb philjb added the v3 label Mar 20, 2026
@philjb
Copy link
Contributor

philjb commented Mar 20, 2026

While we might reevaluate this approach, it is currently intentional to include soft deleted tables in the total count as they continue to use resources until they are hard deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[v3] cannot write data after hitting max tables limit

2 participants