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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...