Deployment Architecture

What's this duplicate bucket in my index?

jrodman
Splunk Employee
Splunk Employee

I've got bucket in my defaultdb/db named things like db_1282889175_1282864311_6-duplicate-0/ What are they? Should I do something about them?

Tags (2)
1 Solution

jrodman
Splunk Employee
Splunk Employee

This will happen if you end up with duplicate bucket ids in your index while splunk is running.

Some really weird problem with network filesystem might be responsible (do not use network filesystems for index and search unless you can guarantee their reliability). Bugs in a custom warmToCold script could be responsible. Pointing two splunk executables at one directory could be responsible.

It's pretty hard to make this happen.

But if it does happen, splunk may rename the warm bucket to this duplicate name.

Recommended steps:

  • Determine if the 'duplicate' bucket is an exact duplicate of one in cold, in which case it can simply be deleted
  • Determine if the 'duplicate' bucket is so old you don't care about the contents, in which case it can be deleted
  • If neither of the above is true, it might make sense to manually rename the bucket to a new id that does not conflict with any of the ones in your index. Likely it will be old and will be moved to cold (and possibly archived) in short order.

View solution in original post

jrodman
Splunk Employee
Splunk Employee

This will happen if you end up with duplicate bucket ids in your index while splunk is running.

Some really weird problem with network filesystem might be responsible (do not use network filesystems for index and search unless you can guarantee their reliability). Bugs in a custom warmToCold script could be responsible. Pointing two splunk executables at one directory could be responsible.

It's pretty hard to make this happen.

But if it does happen, splunk may rename the warm bucket to this duplicate name.

Recommended steps:

  • Determine if the 'duplicate' bucket is an exact duplicate of one in cold, in which case it can simply be deleted
  • Determine if the 'duplicate' bucket is so old you don't care about the contents, in which case it can be deleted
  • If neither of the above is true, it might make sense to manually rename the bucket to a new id that does not conflict with any of the ones in your index. Likely it will be old and will be moved to cold (and possibly archived) in short order.
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...