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

namespace advanced configuration example contains obsoleted option #4084

Open
larsf opened this issue Mar 15, 2022 · 1 comment
Open

namespace advanced configuration example contains obsoleted option #4084

larsf opened this issue Mar 15, 2022 · 1 comment

Comments

@larsf
Copy link

larsf commented Mar 15, 2022

Filing M3 Issues

General Issues

site/content/operational_guide)/namespace_configuration.md

The advanced example:
curl -X POST <M3_COORDINATOR_IP_ADDRESS>:<CONFIGURED_PORT(default 7201)>/api/v1/services/m3db/namespace -d '{
"name": "default_unaggregated",
"options": {
"bootstrapEnabled": true,
"flushEnabled": true,
"writesToCommitLog": true,
"cleanupEnabled": true,
"snapshotEnabled": true,
"repairEnabled": false,
"retentionOptions": {
"retentionPeriodDuration": "2d",
"blockSizeDuration": "2h",
"bufferFutureDuration": "10m",
"bufferPastDuration": "10m",
"blockDataExpiry": true,
"blockDataExpiryAfterNotAccessedPeriodDuration": "5m"
},
"indexOptions": {
"enabled": true,
"blockSizeDuration": "2h"
},
"aggregationOptions": {
"aggregations": [
{ "aggregated": false }
]
}
}
}'

Contains blockDataExpiryAfterNotAccessedPeriodDuration which no longer seems to be a valid option. The above curl fails.
Please update example

@fablous2Fan
Copy link

It should be blockDataExpiryAfterNotAccessriodDuration as the https://m3db.io/openapi/#tag/M3DB-Namespace/operation/m3DBNamespaceAdd said

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants