Open ZsBT opened 6 months ago
Hello, I am Blathers. I am here to help you get the issue triaged.
Hoot - a bug! Though bugs are the bane of my existence, rest assured the wretched thing will get the best of care here.
I was unable to automatically find someone to ping.
If we have not gotten back to your issue within a few business days, you can try the following:
:owl: Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.
+cc @xinhaoz Does this seem related to #119789?
Hi. I have same issue in V23.2.4
Describe the problem
I got an index recommendation "Drop unused index". Reason: This index has not been used and can be removed for better write performance.
But, that is not an index of a table, but a sequence.
CC thinks the index was created like this:
CREATE INDEX "primary" ON defaultdb.public.nextid USING btree (value ASC)
But the actual creation statement was:
CREATE SEQUENCE nextid start with 1001 INCREMENT BY 7;
To Reproduce
A sequence was created as written above.
Expected behavior
Not to recommend index deletion on non-existent indicies
Additional data / screenshots
Environment:
Container in docker swarm
Additional context No impact
Jira issue: CRDB-36244