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!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...