This just means that a UID was allocated for nothing, but otherwise everything is fine. If you are worried about the state of your tsdb-uid
table, you could run the tsdb uid fsck
command, and it will probably report that some UIDs are allocated but unused.
If you see the message only occasionally, you can ignore it. If you see it a lot, then the only undesirable consequence is that you're burning through the UID space faster than you should be, so you may run out of UIDs sooner (there are 16777215 possible UIDs for each of: metric names, tag names, tag values).