questdb / questdb/questdb

DROP ALL TABLES ends with error when telemetry is enabled

Open
#4,041 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
17.3k
Forks
1.6k
Avg merge
5d 10h
Merged PRs (30d)
28

Description

Describe the bug

When telemetry is enabled (which is the default) issuing:

DROP ALL TABLES;

ends with failed to drop tables ['telemetry': [-1] could not lock 'telemetry' [reason='telemetry']] error.
Command should skip telemetry table instead.

To reproduce

No response

Expected Behavior

No response

Environment
- **QuestDB version**:7.3.6-SNAPSHOT
- **OS**:
- **Browser**:
Additional context

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing DROP ALL TABLES; with telemetry enabled on QuestDB 7.3.6-SNAPSHOT, then trace the command's handling of the telemetry table. Done means the command succeeds while skipping telemetry instead of reporting a lock error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
databases
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.