<?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 Re: [SmartStore]Can you provide me with some clarification on remote.s3.supports_versioning  configuration for SmartStore? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/SmartStore-Can-you-provide-me-with-some-clarification-on-remote/m-p/387447#M14082</link>
    <description>&lt;P&gt;Isn't this opposite of what versioning is supposed to do?&lt;/P&gt;

&lt;P&gt;As per Splunk's indexes.conf documentation from &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/Admin/Indexesconf"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/Admin/Indexesconf&lt;/A&gt; it clearly says versioning is a means of keeping multiple variants of an object.  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;remote.s3.supports_versioning = &amp;lt;boolean&amp;gt;
* Specifies whether the remote storage supports versioning.
* Versioning is a means of keeping multiple variants of an object
  in the same bucket on the remote storage.
* Optional.
* Default: true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hence I would expect a delete marker in place when an object is deleted.  Can you clarify?&lt;/P&gt;</description>
    <pubDate>Fri, 06 Dec 2019 02:02:29 GMT</pubDate>
    <dc:creator>srajarat2</dc:creator>
    <dc:date>2019-12-06T02:02:29Z</dc:date>
    <item>
      <title>[SmartStore]Can you provide me with some clarification on remote.s3.supports_versioning  configuration for SmartStore?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SmartStore-Can-you-provide-me-with-some-clarification-on-remote/m-p/387445#M14080</link>
      <description>&lt;P&gt;When a bucket exceeds the configured data retention time and the parameter remote.s3.supports_versioning=true, then my understanding is that SmartStore will put a delete marker on the corresponding bucket that gets frozen and this data/bucket is ignored by SmartStore for any subsequent searches.&lt;/P&gt;

&lt;P&gt;I'm seeing that the bucket gets completely deleted with no delete marker. I wanted to make sure that there's no other configuration that needs to be done other than:&lt;/P&gt;

&lt;P&gt;Enable versioning on the S3 bucket&lt;BR /&gt;
Ensure that remote.s3.supports_versioning=true (default)&lt;/P&gt;</description>
      <pubDate>Fri, 16 Nov 2018 23:05:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SmartStore-Can-you-provide-me-with-some-clarification-on-remote/m-p/387445#M14080</guid>
      <dc:creator>rbal_splunk</dc:creator>
      <dc:date>2018-11-16T23:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: [SmartStore]Can you provide me with some clarification on remote.s3.supports_versioning  configuration for SmartStore?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SmartStore-Can-you-provide-me-with-some-clarification-on-remote/m-p/387446#M14081</link>
      <description>&lt;P&gt;When versioning is enabled on the S3 bucket: &lt;/P&gt;

&lt;P&gt;If s3.supports_versioning=true, then the bucket/data is deleted w/o delete markers. &lt;BR /&gt;
If s3.supports_versioning=false, then data is deleted and the bucket/data contains delete markers &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 22:00:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SmartStore-Can-you-provide-me-with-some-clarification-on-remote/m-p/387446#M14081</guid>
      <dc:creator>rbal_splunk</dc:creator>
      <dc:date>2020-09-29T22:00:33Z</dc:date>
    </item>
    <item>
      <title>Re: [SmartStore]Can you provide me with some clarification on remote.s3.supports_versioning  configuration for SmartStore?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SmartStore-Can-you-provide-me-with-some-clarification-on-remote/m-p/387447#M14082</link>
      <description>&lt;P&gt;Isn't this opposite of what versioning is supposed to do?&lt;/P&gt;

&lt;P&gt;As per Splunk's indexes.conf documentation from &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.0/Admin/Indexesconf"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.0/Admin/Indexesconf&lt;/A&gt; it clearly says versioning is a means of keeping multiple variants of an object.  &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;remote.s3.supports_versioning = &amp;lt;boolean&amp;gt;
* Specifies whether the remote storage supports versioning.
* Versioning is a means of keeping multiple variants of an object
  in the same bucket on the remote storage.
* Optional.
* Default: true
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Hence I would expect a delete marker in place when an object is deleted.  Can you clarify?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2019 02:02:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SmartStore-Can-you-provide-me-with-some-clarification-on-remote/m-p/387447#M14082</guid>
      <dc:creator>srajarat2</dc:creator>
      <dc:date>2019-12-06T02:02:29Z</dc:date>
    </item>
    <item>
      <title>Re: [SmartStore]Can you provide me with some clarification on remote.s3.supports_versioning  configuration for SmartStore?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SmartStore-Can-you-provide-me-with-some-clarification-on-remote/m-p/387448#M14083</link>
      <description>&lt;P&gt;What happens when the versioning is not enabled on the S3 bucket?  How does remote.s3.supports_versioning behave?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 21:12:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SmartStore-Can-you-provide-me-with-some-clarification-on-remote/m-p/387448#M14083</guid>
      <dc:creator>srajarat2</dc:creator>
      <dc:date>2019-12-12T21:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: [SmartStore]Can you provide me with some clarification on remote.s3.supports_versioning  configuration for SmartStore?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SmartStore-Can-you-provide-me-with-some-clarification-on-remote/m-p/387449#M14084</link>
      <description>&lt;P&gt;Just to complete this discussion.&lt;/P&gt;

&lt;P&gt;When &lt;STRONG&gt;remote.s3.supports_versioning = true&lt;/STRONG&gt; , we iterate over all versions of an S3 object (file) and remove all versions.  Otherwise, we do a simple remove on the object.  This means that if set to true, all versions will be removed and the object contents are irretrievable.&lt;/P&gt;

&lt;P&gt;If set to &lt;STRONG&gt;false,&lt;/STRONG&gt; the behavior is as follows: &lt;BR /&gt;
1) if bucket versioning is disabled, the object is simply gone forever; &lt;BR /&gt;
2) if bucket versioning is enabled, the "remove object" operation simply puts a delete marker on top. Keep in mind that the delete marker is &lt;EM&gt;not&lt;/EM&gt; explicitly put by us. Whether there will be a delete marker depends on whether bucket versioning is enabled and on the method of removal.&lt;/P&gt;

&lt;P&gt;There is nothing in Splunk about versioning.  It's at the storage level.  Splunk only does &lt;BR /&gt;
1) "simple" object removal or&lt;BR /&gt;
 2) removal of all versions of an object, depending on the configuration.&lt;/P&gt;</description>
      <pubDate>Fri, 13 Dec 2019 00:12:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SmartStore-Can-you-provide-me-with-some-clarification-on-remote/m-p/387449#M14084</guid>
      <dc:creator>rbal_splunk</dc:creator>
      <dc:date>2019-12-13T00:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: [SmartStore]Can you provide me with some clarification on remote.s3.supports_versioning  configuration for SmartStor</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/SmartStore-Can-you-provide-me-with-some-clarification-on-remote/m-p/682039#M28007</link>
      <description>&lt;P&gt;I had this exact issue in one environment.&lt;/P&gt;&lt;P&gt;Versioning turned off in AWS S3 and turned on in Splunk. It works perfectly fine until a index bucket needs to freeze. Then Splunk is not able to remove any index bucket related files on S3, and splunkd will log errors and warnings. This event gives a hint of the issue:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;03-26-2024 18:53:54.640 +0100 WARN  S3Client [118080 FilesystemOpExecutorWorker-0] - Error removing object name=splunk01/index01/db/9c/b2/1058~09FD8FE0-DA2A-4698-BE4C-BC2CD5D92EFF/receipt.json(0,-1,0,) as versions of the object could not be listed&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;These are all events related to failing to freeze a index bucket on S3:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;03-26-2024 18:53:54.640 +0100 INFO  BucketMover [118080 FilesystemOpExecutorWorker-0] - RemoteStorageAsyncFreezer freeze completed succesfully for bid=index01_ccd~1058~09FD8FE0-DA2A-4698-BE4C-BC2CD5D92EFF
03-26-2024 18:53:54.640 +0100 WARN  DatabaseDirectoryManager [118080 FilesystemOpExecutorWorker-0] - failed to request CacheManager to remove remote data for bucket, cache_id="bid|index01_ccd~1058~09FD8FE0-DA2A-4698-BE4C-BC2CD5D92EFF|", exception=Error removing bucket with cache_id="bid|index01_ccd~1058~09FD8FE0-DA2A-4698-BE4C-BC2CD5D92EFF|"
03-26-2024 18:53:54.640 +0100 ERROR CacheManager [118080 FilesystemOpExecutorWorker-0] - cache_id="bid|index01_ccd~1058~09FD8FE0-DA2A-4698-BE4C-BC2CD5D92EFF|", issue="Failed to remove receipt remoteId=splunk01/index01_ccd/db/9c/b2/1058~09FD8FE0-DA2A-4698-BE4C-BC2CD5D92EFF/receipt.json(0,-1,0,)"
03-26-2024 18:53:54.640 +0100 ERROR CacheManager [118080 FilesystemOpExecutorWorker-0] - Remove bucket cache_id="bid|index01_ccd~1058~09FD8FE0-DA2A-4698-BE4C-BC2CD5D92EFF|" with receiptId=splunk01/index01_ccd/db/9c/b2/1058~09FD8FE0-DA2A-4698-BE4C-BC2CD5D92EFF/receipt.json(0,-1,0,) failed
03-26-2024 18:53:54.640 +0100 WARN  S3Client [118080 FilesystemOpExecutorWorker-0] - Error removing object name=splunk01/index01_ccd/db/9c/b2/1058~09FD8FE0-DA2A-4698-BE4C-BC2CD5D92EFF/receipt.json(0,-1,0,) as versions of the object could not be listed
03-26-2024 18:53:54.558 +0100 INFO  CacheManager [118080 FilesystemOpExecutorWorker-0] - will remove cache_id="bid|index01_ccd~1058~09FD8FE0-DA2A-4698-BE4C-BC2CD5D92EFF|" from remote storage
03-26-2024 18:53:54.545 +0100 INFO  CacheManager [118080 FilesystemOpExecutorWorker-0] - will remove cache_id="bid|index01_ccd~1058~09FD8FE0-DA2A-4698-BE4C-BC2CD5D92EFF|" removeRemote=1
03-26-2024 18:53:54.379 +0100 INFO  BucketMover [118080 FilesystemOpExecutorWorker-0] - RemoteStorageAsyncFreezer trying to freeze bid=index01_ccd~1058~09FD8FE0-DA2A-4698-BE4C-BC2CD5D92EFF, freezeInitiatedByAnotherPeer=false
03-26-2024 18:53:54.379 +0100 INFO  DatabaseDirectoryManager [118080 FilesystemOpExecutorWorker-0] - cache_id="bid|index01_ccd~1058~09FD8FE0-DA2A-4698-BE4C-BC2CD5D92EFF|" found to be on remote storage
v&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Mar 2024 19:14:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/SmartStore-Can-you-provide-me-with-some-clarification-on-remote/m-p/682039#M28007</guid>
      <dc:creator>pellegrini</dc:creator>
      <dc:date>2024-03-26T19:14:06Z</dc:date>
    </item>
  </channel>
</rss>

