<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do I remove a corrupted bucket in an Indexer Cluster environment? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-remove-a-corrupted-bucket-in-an-Indexer-Cluster/m-p/442510#M15584</link>
    <description>&lt;P&gt;One of my indexers crashed in a cluster environment and left a corrupted bucket. Search will return error when hitting that bucket like this: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[indexer1] idx=os Could not read event: cd=21145:261500. Results may be incomplete ! (logging only the first such error; enable DEBUG to see the rest)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any command to remove/fix the corrupted bucket as I can't shutdown the indexer to run fsck right now?&lt;/P&gt;</description>
    <pubDate>Wed, 24 Oct 2018 04:26:27 GMT</pubDate>
    <dc:creator>daniel_splunk</dc:creator>
    <dc:date>2018-10-24T04:26:27Z</dc:date>
    <item>
      <title>How do I remove a corrupted bucket in an Indexer Cluster environment?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-remove-a-corrupted-bucket-in-an-Indexer-Cluster/m-p/442510#M15584</link>
      <description>&lt;P&gt;One of my indexers crashed in a cluster environment and left a corrupted bucket. Search will return error when hitting that bucket like this: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[indexer1] idx=os Could not read event: cd=21145:261500. Results may be incomplete ! (logging only the first such error; enable DEBUG to see the rest)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any command to remove/fix the corrupted bucket as I can't shutdown the indexer to run fsck right now?&lt;/P&gt;</description>
      <pubDate>Wed, 24 Oct 2018 04:26:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-remove-a-corrupted-bucket-in-an-Indexer-Cluster/m-p/442510#M15584</guid>
      <dc:creator>daniel_splunk</dc:creator>
      <dc:date>2018-10-24T04:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove a corrupted bucket in an Indexer Cluster environment?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-remove-a-corrupted-bucket-in-an-Indexer-Cluster/m-p/442511#M15585</link>
      <description>&lt;P&gt;From the message, the bucket number is 21145 (cd:21145:61500), you can run below search to locate the actual bucket.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| dbinspect index=os
| search bucketId = *21145*
| table bucketId, guId, splunk_server, index, state
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Once you get the bucketId, run below REST API to remove it.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;splunk _internal call /services/cluster/master/buckets/&amp;lt;bucketId&amp;gt;/remove_from_peer -method POST -post:peer &amp;lt;guId&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Oct 2018 04:31:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-remove-a-corrupted-bucket-in-an-Indexer-Cluster/m-p/442511#M15585</guid>
      <dc:creator>daniel_splunk</dc:creator>
      <dc:date>2018-10-24T04:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: How do I remove a corrupted bucket in an Indexer Cluster environment?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-remove-a-corrupted-bucket-in-an-Indexer-Cluster/m-p/442512#M15586</link>
      <description>&lt;P&gt;How about a non-clustered bucket? Can I just delete it from the OS?&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 09:52:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-remove-a-corrupted-bucket-in-an-Indexer-Cluster/m-p/442512#M15586</guid>
      <dc:creator>gregbo</dc:creator>
      <dc:date>2018-11-16T09:52:08Z</dc:date>
    </item>
  </channel>
</rss>

