-
Notifications
You must be signed in to change notification settings - Fork 617
Create documentation for snapshots with hashed prefix path type #8196
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
Changes from 4 commits
f18a5e3
656459a
ce762a0
2d5e231
6e97500
5e9e2aa
5e7ca66
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,6 +43,15 @@ | |
Request field | Description | ||
:--- | :--- | ||
`prefix_mode_verification` | When enabled, adds a hashed value of a random seed to the prefix for repository verification. For remote-store-enabled clusters, you can add the `setting.prefix_mode_verification` setting to the node attributes for the supplied repository. This field works with both new and existing repositories. Optional. | ||
`shard_path_type` | Controls the path stucture of shard-level blobs. Supported values are `FIXED`, `HASHED_PREFIX`, or `HASHED_INFIX`. For more information about each value, see [shard_path_type values](#shard_path_type-values)/. Default is `FIXED`. Optional. | ||
Check failure on line 46 in _api-reference/snapshots/create-repository.md
|
||
|
||
Naarcha-AWS marked this conversation as resolved.
Show resolved
Hide resolved
|
||
#### shard_path_type values | ||
|
||
The following values are supported in the `shard_path_type` setting: | ||
|
||
- `FIXED`: Keeps the path structure in the existing hierarchical manner, such as, `<ROOT>/<BASE_PATH>/indices/<index-id>/0/<SHARD_BLOBS>` | ||
Naarcha-AWS marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
- `HASHED_PREFIX`: Prepends a hashed prefix at the start of path for each unique shard ID, for example, `<ROOT>/<HASH-OF-INDEX-ID-AND-SHARD-ID>/<BASE_PATH>/indices/<index-id>/0/<SHARD_BLOBS>`. | ||
Naarcha-AWS marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
- `HASHED_INFIX`: Appends a hashed prefix after the base path for each unique shard ID, for example, `<ROOT>/<BASE-PATH>/<HASH-OF-INDEX-ID-AND-SHARD-ID>/indices/<index-id>/0/<SHARD_BLOBS>`. The hash method used is `fnv_1a_composite_1, which uses the `FNV1a` hash function and generates a custom-encoded 64-bit hash value that scales well with most remote store options. `FNV1a` takes the most significant 6 bits to create a url-safe base64 character and the next 14 bits to create a binary string. | ||
Naarcha-AWS marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Line above: Same question re: |
||
### fs repository | ||
|
||
|
Uh oh!
There was an error while loading. Please reload this page.