Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Massive update to docs #2533

Draft
wants to merge 136 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
136 commits
Select commit Hold shift + click to select a range
423e60f
Resetting to Basho head
pjaclark Jun 2, 2022
47921c5
Riak KV 3.0.0 -> 3.0.4 (#111)
pjaclark Jun 2, 2022
ea688da
Removed 'fake.txt'
pjaclark Jun 2, 2022
2d318f2
Removed 'fake.txt' (#113)
pjaclark Jun 2, 2022
465bb83
Changed display name of OS versions on Downloads
pjaclark Jun 2, 2022
0127f14
Made Contact Us configurable
pjaclark Jun 2, 2022
d1ef1fb
Pretty OS version names and configurable Contact Us (#114)
pjaclark Jun 2, 2022
dc305bc
Fix for Contact Us url
pjaclark Jun 2, 2022
f1a2b2e
Merge remote-tracking branch 'origin/dev'
Jun 2, 2022
ad4d215
Updated file download data
pjaclark Jun 3, 2022
f81408b
More pretty names for OS versions
pjaclark Jun 4, 2022
64d0890
Show a configurable download root on Downloads
pjaclark Jun 4, 2022
629dab4
More pretty names and file store link on Downloads (#115)
pjaclark Jun 4, 2022
3143627
initial 3.0.6 update (#116) (#117)
pjaclark Jun 24, 2022
9f85fa4
3.0.7 doc creation and update (#122) (#124)
pjaclark Aug 5, 2022
fd8de13
Fix bad link
pjaclark Aug 5, 2022
8b5cfee
3.0.8 doc update (#125) (#126)
pjaclark Aug 5, 2022
b2f034b
Dev 3.0.9 (#143)
pjaclark Sep 30, 2022
e8e02c5
Dev pjac aaefold (#145)
pjaclark Nov 29, 2022
17c27ce
Dev pjac aaefold2 (#146)
pjaclark Nov 29, 2022
8734818
Dev ts 3.0.0 (#147)
pjaclark Nov 29, 2022
f811a23
Added Alpinhe Linux options
pjaclark Nov 29, 2022
8cf7fc9
Updated TS 3.0.0 supported OSs based on downloads
pjaclark Nov 29, 2022
a1893ee
Added OTP version to TS 3.0.0
pjaclark Nov 29, 2022
a3e6d3a
Removed link to Basho Academy
pjaclark Nov 29, 2022
55a85ce
Removed references to Basho Academy
pjaclark Nov 29, 2022
32b2da2
Add repair_keys_range aaefold function for 3.0.8+
pjaclark Nov 29, 2022
954686b
Changed the aaefold examples to use nicer dates.
pjaclark Nov 30, 2022
ec5dab5
Fix modified_filter for repair_keys_range function
pjaclark Nov 30, 2022
1d51d4c
Fix layout and add link
pjaclark Nov 30, 2022
b06793d
Fix layout and links
pjaclark Nov 30, 2022
edf8bbe
Add quick deploy scripts for TIOT
pjaclark Nov 30, 2022
cd9b36e
Fix incorrect erlang, specify riakattach
pjaclark Dec 2, 2022
60d287e
Fix typo
pjaclark Dec 2, 2022
08717de
Update code blocks erlang->riakattach, fix typo
pjaclark Dec 2, 2022
d86415d
Copy 2.1.2 -> 3.0.0
pjaclark Dec 2, 2022
97f878c
Update
pjaclark Dec 2, 2022
c685f82
3.0.10 updates (#151) (#153)
pjaclark Dec 7, 2022
3d22c66
3.0.11 release notes, file creation and version number changes (#152)…
pjaclark Dec 7, 2022
c58429f
Update project descriptions
pjaclark Dec 7, 2022
5f2e576
Add missing aaefold docs for 3.0.10
pjaclark Dec 7, 2022
3248589
Fix bad char at top of file
pjaclark Dec 7, 2022
b03fbcf
Updated instructions for Alpine Linux
pjaclark Dec 7, 2022
5f5605f
Add Alpine Linux to 3.0.11 and reorder menus
pjaclark Dec 7, 2022
818cf41
Updated downloads page to have Alpine Linux info.
pjaclark Dec 7, 2022
3c87106
Make alpine info on downloads consistant
pjaclark Dec 7, 2022
6548b60
Add alpine instructions to 3.0.9
pjaclark Dec 7, 2022
f9213ec
Update alpine instructions
pjaclark Dec 7, 2022
e1505fa
Update 3.0.9 instructions to use the testing repo
pjaclark Dec 7, 2022
cc524ce
Fix numbering in alpine 3.0.9
pjaclark Dec 7, 2022
9324719
Removing superflous 3.0.9 alpine instruction
pjaclark Dec 7, 2022
9e87161
Point GitHub to dev branch
pjaclark Dec 7, 2022
db2ab6b
Update alpine install instructions
pjaclark Dec 7, 2022
5fbc1e0
Fix typo
pjaclark Dec 7, 2022
953fa5e
Make alpine install instuctions since 3.0.9
pjaclark Dec 7, 2022
c9af483
Added latest for aaefolds
pjaclark Dec 7, 2022
3c948b8
Merge branch 'master' into dev
pjaclark Dec 9, 2022
a5e1240
Add docs.riak.info docker compose file
pjaclark Dec 9, 2022
c6b0fcd
Dev 3.0.12 (#163)
pjaclark Jan 20, 2023
6ac0a1a
Dev 3.0.12 (#171)
pjaclark Jan 20, 2023
2b0c8d9
Merge branch 'basho:master' into dev
pjaclark Jan 20, 2023
9998aff
3.2.0 updates (#177) (#179)
pjaclark Feb 9, 2023
1f6061d
Fix to date (#175)
pjaclark Feb 9, 2023
60299c9
Fix typo (#174)
pjaclark Feb 9, 2023
0c48f67
Key changes for Riak CS 3.0.0 (#185)
Bob-The-Marauder May 5, 2023
1a63c3d
Merge branch 'dev' into dev-cs-3.0.0
pjaclark May 5, 2023
f5b316a
Dev cs 3.0.0 (#186)
pjaclark May 5, 2023
5f3f987
Updated to dockers files and metadata.
pjaclark May 11, 2023
641a2ae
Fix URL errors
pjaclark May 11, 2023
5e818bb
URl fix
pjaclark May 11, 2023
b5cebf9
Fix bad links to KV latest
pjaclark May 11, 2023
65c15e9
Add markdownlint to allow acceptable errors
pjaclark May 11, 2023
cf6f471
Fix markdown
pjaclark May 11, 2023
9afc4c1
Fixes for Riak search across verions (#187)
JMercerGit May 12, 2023
92869d1
Revert "Fixes for Riak search across verions (#187)" (#188)
pjaclark May 12, 2023
6a8cafd
Merge branch 'dev' of github.com:Ti-Tokyo/riak-docs-fork into dev
pjaclark May 12, 2023
bf5c24c
Search fixes (#189)
JMercerGit May 12, 2023
633e64d
Merge branch 'dev' of github.com:Ti-Tokyo/riak-docs-fork into dev
pjaclark May 12, 2023
2aef7f9
Mark 2.x search files as only in 2.x (#193)
pjaclark May 12, 2023
ec22fbc
Updating index.md (#191)
JMercerGit May 12, 2023
1fcd9d6
Fix broken links and update old version references (#190)
Bob-The-Marauder May 12, 2023
00578ae
Updates to install doc (#195)
Bob-The-Marauder May 12, 2023
d2532de
Merge branch 'dev' into dev-cs-3.0.0
pjaclark May 12, 2023
49adbe2
Update installing.md
pjaclark May 12, 2023
aac2290
Update installing.md
pjaclark May 12, 2023
2e39fc9
Update installing.md
pjaclark May 12, 2023
e605f53
Update installing.md
pjaclark May 12, 2023
6685b83
Update installing.md
pjaclark May 12, 2023
3c47eb2
Dev cs 3.0.0 (#194)
pjaclark May 12, 2023
85bb815
Fix bad Stanchion file links
pjaclark May 12, 2023
8121da2
Update installing.md
pjaclark May 12, 2023
d6b1d52
Update installing.md
pjaclark May 12, 2023
db1254c
Update installing.md
pjaclark May 12, 2023
b8ba524
Set KV 3.2 as LTS and hide 2.2 in menu
pjaclark May 14, 2023
5418825
Remove markdown issues (#197)
pjaclark May 19, 2023
43ce02c
Add aae_fold function erase_keys (#201)
pjaclark Jun 9, 2023
82b3852
Update installing.md (#203)
Bob-The-Marauder Jun 13, 2023
0fc29fc
Merge branch 'dev' into dev-cs-3.0.0
pjaclark Jun 14, 2023
d438b83
Update installing.md
pjaclark Jun 14, 2023
07fb81d
Merge pull request #204 from TI-Tokyo/dev-cs-3.0.0
Bob-The-Marauder Jun 14, 2023
077aad9
Add erase_keys to 2.9.4+ (#205)
pjaclark Jun 16, 2023
50e05eb
Pjac erase keys historic (#206)
pjaclark Jun 16, 2023
375e716
version updates and other fixes (#202) (#207)
pjaclark Jun 16, 2023
95d9316
config fixes (#209)
JMercerGit Jun 16, 2023
c806d89
Updated downloads and projects metadata files
pjaclark Jun 16, 2023
01708d6
Add aae_fold erase keys to 3.0.13 to 3.0.15 (#210)
pjaclark Jun 16, 2023
844552a
Add erase_keys and fix some markdown lint (#211)
pjaclark Jun 16, 2023
83e9ce9
Re-order menus for Data Types (#213)
pjaclark Jun 30, 2023
2e5ac25
Menu order change (#214)
pjaclark Jun 30, 2023
be88182
Initial 3.0.16 creation (#212) (#215)
pjaclark Jul 6, 2023
dba0b4f
Fix data type list order for 3.0.16
pjaclark Jul 6, 2023
eee08d8
Markdown lint fixes and metadata update (#216)
pjaclark Jul 6, 2023
444c0c0
Add CS 3.0.1 docs (#221)
pjaclark Aug 18, 2023
8d694ce
Add CS 3.0.1 docs (#221) (#223)
pjaclark Aug 23, 2023
d2c0ca0
Added LUNR-based search (#226)
pjaclark Sep 1, 2023
b8d7618
Add LUNR 2.3.9 JS file
pjaclark Sep 1, 2023
27b059f
Update running-a-cluster.md (#228)
pjaclark Nov 10, 2023
c6f3359
Updated Alpine Linux instuctions (#237)
pjaclark Nov 10, 2023
0a4ba31
Merge branch 'master' into dev
pjaclark Nov 10, 2023
237bc22
Various issues with riak-admin changes and search files fixed (#235) …
pjaclark Nov 10, 2023
ed3008e
Command Examples update (#230) (#239)
pjaclark Nov 10, 2023
49654ec
Fix for outdated references and changes to the upgrading checklist to…
pjaclark Nov 17, 2023
855b644
Version History updates for V2.0.0 - V2.9.10 (#242)
JMercerGit Nov 23, 2023
962c547
Fixes missing curl examples (#243) (#245)
pjaclark Nov 24, 2023
9dead9f
Merge dev into master (#238)
pjaclark Nov 24, 2023
7455c4d
Add sitemap support (#251)
pjaclark Nov 29, 2023
73c1ee4
Remove general search indexes from sitemap (#252)
pjaclark Nov 29, 2023
18a5905
Fixes various 404 page issues (#249)
pjaclark Dec 8, 2023
214eee2
Fix doc generation for non-root paths (#256)
pjaclark Dec 11, 2023
b61ccd0
Set canonical to be latest version instead of "latest" (#257)
pjaclark Dec 11, 2023
79d6b25
Creation of Oracle Linux Installation doc (#258)
JMercerGit Dec 15, 2023
1b0bf32
Merge changes between dev and master
pjaclark Dec 15, 2023
e35cca3
Remove duplicate (#260)
pjaclark Dec 15, 2023
8a47bdd
Remove duplicate (#261)
pjaclark Dec 22, 2023
f20d6f8
Fix merge conflicts
pjaclark Dec 22, 2023
ff6f648
Update Dockerfile
pjaclark Mar 18, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add aae_fold function erase_keys (#201)
* Add aae_fold function erase_keys and related fixes.

* Fix link
  • Loading branch information
pjaclark authored Jun 9, 2023
commit 43ce02c3666d708a125954e5c843fd3149e5528d
32 changes: 29 additions & 3 deletions content/riak/kv/3.2.0/using/cluster-operations/tictac-aae-fold.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ aliases:
[tictacaae list-buckets]: ../tictac-aae-fold/list-buckets
[tictacaae object-stats]: ../tictac-aae-fold/object-stats
[tictacaae count-tombs]: ../tictac-aae-fold/count-tombs
[tictacaae count-keys]: ../tictac-aae-fold/count-keys
[tictacaae reap-tombs]: ../tictac-aae-fold/reap-tombs
[tictacaae erase-keys]: ../tictac-aae-fold/erase-keys
[tictacaae repair-keys-range]: ../tictac-aae-fold/repair-keys-range
[filters]: ../tictac-aae-fold/filters
[filter-by bucket]: ../tictac-aae-fold/filters#filter-by-bucket-name
[filter-by key-range]: ../tictac-aae-fold/filters#filter-by-key-range
Expand Down Expand Up @@ -124,6 +127,7 @@ After experiencing a timeout, the current number of commands waiting to execute
io:format("af4_pool has ~b workers\n", [length(MM)]),
f().
```

{{% note title="Warning: existing variables cleared" %}}
`f()` will unbind any existing variables, which may not be your intention. If you remove `f()` then please remember that `MM` will remain bound to the first value. For re-use, you should change the variable name or restart the `riak attach` session.
{{% /note %}}
Expand Down Expand Up @@ -181,6 +185,14 @@ Returns a list of all buckets.

[Learn More >>][tictacaae list-buckets]

## Count keys

Function: `erase_keys` with `count`

Counts the Riak keys that meet the filter parameters.

[Learn More >>][tictacaae count-keys]

## Count tombstones

Function: `reap_tombs` with `count`
Expand All @@ -197,6 +209,14 @@ Returns a count of Riak objects that meet the filter parameters.

[Learn More >>][tictacaae object-stats]

## Erase keys

Function: `erase_keys` with `local`

Deletes Riak keys that meet the filter parameters.

[Learn More >>][tictacaae erase-keys]

## Reap tombstones

Function: `reap_tombs` with `local`
Expand All @@ -205,15 +225,21 @@ Reaps the Riak tombstone objects that meet the filter parameters.

[Learn More >>][tictacaae reap-tombs]

## Repair keys

Function: `repair_keys_range`

Performs a read-repair on the keys that meet the filter parameters.

[Learn More >>][tictacaae repair-keys-range]

## Other functions not covered

`aae_fold` has various other functions that can be called, but are mostly for internal use by Riak. These functions should not be used without a good understanding of the source code, but are provided here for reference:
`aae_fold` has various other functions that can be called, but are mostly for internal use by Riak. These functions should not be used without a good understanding of the source code, but are listed here for reference:

- `erase_keys`
- `fetch_clocks_nval`
- `fetch_clocks_range`
- `merge_branch_nval`
- `merge_root_nval`
- `merge_tree_range`
- `repair_keys_range`
- `repl_keys_range`
Original file line number Diff line number Diff line change
@@ -0,0 +1,136 @@
---
title_supertext: "Using > TicTac AAE Fold:"
title: "Count Keys"
description: ""
project: "riak_kv"
project_version: 3.2.0
menu:
riak_kv-3.2.0:
name: "Count Keys"
identifier: "cluster_operations_tictac_aae_fold_count_keys"
weight: 105
parent: "cluster_operations_tictac_aae_fold"
toc: true
since: 2.9.4
version_history:
in: "2.9.4+"
aliases:
---
[code riak_kv_vnode]: https://github.com/basho/riak_kv/blob/develop-3.0/src/riak_kv_vnode.erl
[riak attach]: ../../../admin/riak-cli/#attach
[config reference]: ../../../configuring/reference/#tictac-active-anti-entropy
[config tictacaae]: ../../../configuring/active-anti-entropy/tictac-aae
[tictacaae folds-overview]: ../
[tictacaae system]: ../../tictac-active-anti-entropy
[tictacaae client]: ../../tictac-aae-fold#the-riak-client
[tictacaae find-keys]: ../../tictac-aae-fold/find-keys
[tictacaae find-tombs]: ../../tictac-aae-fold/find-tombs
[tictacaae list-buckets]: ../../tictac-aae-fold/list-buckets
[tictacaae object-stats]: ../../tictac-aae-fold/object-stats
[tictacaae reap-tombs]: ../../tictac-aae-fold/reap-tombs
[tictacaae count-tombs]: ../../tictac-aae-fold/count-tombs
[filters]: ../../tictac-aae-fold/filters
[filter-by bucket]: ../../tictac-aae-fold/filters#filter-by-bucket-name
[filter-by key-range]: ../../tictac-aae-fold/filters#filter-by-key-range
[filter-by segment]: ../../tictac-aae-fold/filters#filter-by-segment
[filter-by modified]: ../../tictac-aae-fold/filters#filter-by-date-modified
[filter-by sibling-count]: ../../tictac-aae-fold/find-keys/#the-sibling-count-filter
[filter-by object-size]: ../../tictac-aae-fold/find-keys/#the-object-size-filter

Counts keys that meet the filter parameters.

See the [TicTac AAE `aae_folds`][tictacaae folds-overview] documentation for configuration, tuning and troubleshootings help.

This function allows you to count how many keys would be deleted in a single pass based on the supplied filters. It does not actually delete the keys. Manual dev ops intervention using this function is required.

Use the `erase_keys` function to count the keys that would be deleted.

If you need to find keys with more specific properties, you can also use the [Object Statistics function][tictacaae object-stats].

## The `erase_keys` function

Run this using [`riak attach`][riak attach].

This function has three available operational methods that are selected via the `method` value. The `count` method for counting keys is detailed below. The general format for the function is:

```riakattach
riak_client:aae_fold({
erase_keys,
bucket_filter,
key_range_filter,
segment_filter
modified_filter,
method
}, Client).
```

Please see the list of [available filters](#available-filters) below.

{{% note title="Other `method`s" %}}
There are two other `method`s, `local` and `job`:

- `local` is used to delete the keys (see [Erase Keys](../../tictac-aae-fold/erase-keys) for more information).
- `job` is used internally by TicTac AAE. Do not use it unless you know what you are doing.
{{% /note %}}

{{% note %}}
How to get the value for `Client` is detailed in [The Riak Client](../../tictac-aae-fold#the-riak-client).
{{% /note %}}

## The `count` method

Returns a count of keys that meet the filter parameters. Does NOT delete the keys.

```riakattach
riak_client:aae_fold({
erase_keys,
bucket_filter,
key_range_filter,
segment_filter
modified_filter,
count
}, Client).
```

Please see the list of [available filters](#available-filters) below.

For example, the following snippet will count all keys that would be deleted with the filters:

- in the bucket "dogs" of bucket type "animals"
- whose keys are between "A" and "N"
- which were modified in January 2022

```riakattach
riak_client:aae_fold({
erase_keys,
{<<"animals">>,<<"dogs">>},
{<<"A">>,<<"N">>},
all,
{date,{{2022,1,1},{0,0,0}},{{2022,2,1},{0,0,0}}},
count
}, Client).
```

## The response for the `count` method

The response will look something like this:

```erlang
{ok,5}
```

This indicates that 5 keys were found meeting the filter parameters.

## Available filters

These filters are detailed in the [Filters][filters] documentation and can be used to limit the keys considered for counting.

These filters will reduce the number of keys to be searched:

- [`bucket_filter`][filter-by bucket]
- [`key_range_filter`][filter-by key-range]
- [`segment_filter`][filter-by segment]

These filters will reduce the number of keys considered for counting:

- [`modified_filter`][filter-by modified]
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ menu:
riak_kv-3.2.0:
name: "Count Tombs"
identifier: "cluster_operations_tictac_aae_fold_count_tombs"
weight: 105
weight: 106
parent: "cluster_operations_tictac_aae_fold"
toc: true
since: 2.9.4
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
---
title_supertext: "Using > TicTac AAE Fold:"
title: "Erase Keys"
description: ""
project: "riak_kv"
project_version: 3.2.0
menu:
riak_kv-3.2.0:
name: "Erase Keys"
identifier: "cluster_operations_tictac_aae_fold_erase_keys"
weight: 108
parent: "cluster_operations_tictac_aae_fold"
toc: true
since:
version_history:
in: "2.9.4+"
aliases:
---
[code riak_kv_vnode]: https://github.com/basho/riak_kv/blob/develop-3.0/src/riak_kv_vnode.erl
[riak attach]: ../../../admin/riak-cli/#attach
[config reference]: ../../../configuring/reference/#tictac-active-anti-entropy
[config tictacaae]: ../../../configuring/active-anti-entropy/tictac-aae
[tictacaae folds-overview]: ../
[tictacaae system]: ../../tictac-active-anti-entropy
[tictacaae client]: ../../tictac-aae-fold#the-riak-client
[tictacaae find-keys]: ../../tictac-aae-fold/find-keys
[tictacaae find-tombs]: ../../tictac-aae-fold/find-tombs
[tictacaae list-buckets]: ../../tictac-aae-fold/list-buckets
[tictacaae object-stats]: ../../tictac-aae-fold/object-stats
[tictacaae reap-tombs]: ../../tictac-aae-fold/reap-tombs
[filters]: ../../tictac-aae-fold/filters
[filter-by bucket]: ../../tictac-aae-fold/filters#filter-by-bucket-name
[filter-by key-range]: ../../tictac-aae-fold/filters#filter-by-key-range
[filter-by segment]: ../../tictac-aae-fold/filters#filter-by-segment
[filter-by modified]: ../../tictac-aae-fold/filters#filter-by-date-modified
[filter-by sibling-count]: ../../tictac-aae-fold/find-keys/#the-sibling-count-filter
[filter-by object-size]: ../../tictac-aae-fold/find-keys/#the-object-size-filter

Erases keys that meet the filter parameters.

See the [TicTac AAE `aae_folds`][tictacaae folds-overview] documentation for configuration, tuning and troubleshootings help.

This function allows you to delete many keys in a single pass based on the supplied filters. The Riak keys will be converted to Riak tombstones after which the normal Riak reaping functions take over. Manual dev ops intervention using this function is required.

Use the `erase_keys` function to delete these keys.

## The `erase_keys` function

Run this using [`riak attach`][riak attach].

This function has three available operational methods that are selected via the `method` value. The `local` method for deleting keys is detailed below. The general format for the function is:

```riakattach
riak_client:aae_fold({
erase_keys,
bucket_filter,
key_range_filter,
segment_filter
modified_filter,
method
}, Client).
```

Please see the list of [available filters](#available-filters) below.

{{% note title="Other `method`s" %}}
There are two other `method`s, `count` and `job`:

- `count` is used to count the keys that would have been deleted (see [Count Objects](../../tictac-aae-fold/count-keys) for more information).
- `job` is used internally by TicTac AAE. Do not use it unless you know what you are doing.
{{% /note %}}

{{% note %}}
How to get the value for `Client` is detailed in [The Riak Client](../../tictac-aae-fold#the-riak-client).
{{% /note %}}

## The `local` method

Deletes keys that meet the filter parameters so that they can then be reaped. Returns the number of keys deleted by calling this function.

```riakattach
riak_client:aae_fold({
erase_keys,
bucket_filter,
key_range_filter,
segment_filter
modified_filter,
local
}, Client).
```

Please see the list of [available filters](#available-filters) below.

For example, the following snippet will delete keys with the filters:

- in the bucket "dogs" of bucket type "animals"
- whose keys are between "A" and "N"
- which were modified in January 2022

```riakattach
riak_client:aae_fold({
erase_keys,
{<<"animals">>,<<"dogs">>},
{<<"A">>,<<"N">>},
all,
{date,{{2022,1,1},{0,0,0}},{{2022,2,1},{0,0,0}}},
local
}, Client).
```

## The response for the `local` method

The response will look something like this:

```erlang
{ok,5}
```

This indicates that 5 keys were found meeting the filter parameters and were deleted by Riak. Remember that a deleted Riak key is really converted to a Riak tombstone object, and will be actually removed from the backend at a later point based on your `delete_mode` setting.

## Available filters

These filters are detailed in the [Filters][filters] documentation and can be used to limit the keys considered for deleting.

These filters will reduce the keys to be searched:

- [`bucket_filter`][filter-by bucket]
- [`key_range_filter`][filter-by key-range]
- [`segment_filter`][filter-by segment]

These filters will reduce the number of keys considered for deleting:

- [`modified_filter`][filter-by modified]
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ menu:
riak_kv-3.2.0:
name: "Object Statistics"
identifier: "cluster_operations_tictac_aae_fold_object_stats"
weight: 105
weight: 107
parent: "cluster_operations_tictac_aae_fold"
toc: true
since: 2.9.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ menu:
riak_kv-3.2.0:
name: "Reap Tombs"
identifier: "cluster_operations_tictac_aae_fold_reap_tombs"
weight: 107
weight: 109
parent: "cluster_operations_tictac_aae_fold"
toc: true
since: 2.9.4
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ menu:
riak_kv-3.2.0:
name: "Repair Keys"
identifier: "cluster_operations_tictac_aae_fold_repair_keys_range"
weight: 108
weight: 110
parent: "cluster_operations_tictac_aae_fold"
toc: true
since: 3.0.8
Expand Down
11 changes: 11 additions & 0 deletions docker/run.local.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
if [[ ! -d "output" ]]
then
echo "Run this from the root of the repo. i.e. './docker/run.local.sh'"
exit
fi

# empty output folder
sudo rm -r ./output/*

# generate new content
docker compose -f ./docker/docker-compose.localhost-preview.yaml up