mirror of https://github.com/apache/druid.git
double confirm before delete all the ununsed segmensts (#10581)
Co-authored-by: yuezhang <yuezhang@freewheel.tv>
This commit is contained in:
parent
d7d2c804ad
commit
abb03d38b0
|
@ -576,6 +576,10 @@ GROUP BY 1`;
|
||||||
onSuccess={() => {
|
onSuccess={() => {
|
||||||
this.datasourceQueryManager.rerunLastQuery();
|
this.datasourceQueryManager.rerunLastQuery();
|
||||||
}}
|
}}
|
||||||
|
warningChecks={[
|
||||||
|
`I understand that this operation will delete all metadata about the unused segments of ${killDatasource} and removes them from deep storage.`,
|
||||||
|
'I understand that this operation cannot be undone.',
|
||||||
|
]}
|
||||||
>
|
>
|
||||||
<p>
|
<p>
|
||||||
{`Are you sure you want to permanently delete unused segments in '${killDatasource}'?`}
|
{`Are you sure you want to permanently delete unused segments in '${killDatasource}'?`}
|
||||||
|
|
Loading…
Reference in New Issue