await-consistent
post
/V0/nosql/admin#await-consistent
1つ以上のゾーンまたはストア全体で、指定された秒数までレプリカを待機し、関連付けられたシャード内のマスターに追い付くようにします。整合性の達成に関する情報を出力します。達成されなかった場合は、整合性がとれていないノードに関する詳細を出力します。
リクエスト
この操作のリクエスト・パラメータはありません。
サポートされているメディア・タイプ
- application/json
管理CLIコマンド:
await-consistent -timeout [-zn | -znname ] [-replica-delay-threshold ]
await-consistent -timeout
ルート・スキーマ: schema
型:
ソースの表示
object
- arguments(optional): array arguments
- command: string
指定できる値:
[ "await-consistency" ]
例:
{
"command":"await-consistency",
"arguments":[
{
"timeout":"Timeout value in seconds"
},
{
"zn":"Id of the zone"
},
{
"replicaDelayThreshold":"Allowed replica delay time in milliseconds"
}
]
}
レスポンス
サポートされているメディア・タイプ
- application/json
200 Response
Operation ended successfully
ルート・スキーマ: commonResponse
型:
ソースの表示
object
例:
{
"operation":"Command related operation",
"returnCode":"Error code to indicate the command result, 5000 infers plan success, 5100 infers illegal command, 5200 - 5500 infers connection/resource/internal problem of executing plan.",
"description":"Textual output of the command",
"returnValue":"Valuable information returned by the command execution in JSON object format"
}
ネストされたスキーマ: returnValue
型:
object