ydb-embedded-ui 6.17.1 → 6.18.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/assets/icons/decommission.svg +6 -0
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.d.ts +3 -2
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js +10 -16
- package/dist/components/ButtonWithConfirmDialog/ButtonWithConfirmDialog.js.map +1 -1
- package/dist/components/CriticalActionDialog/CriticalActionDialog.d.ts +4 -2
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js +7 -4
- package/dist/components/CriticalActionDialog/CriticalActionDialog.js.map +1 -1
- package/dist/components/CriticalActionDialog/CriticalActionDialog.scss +23 -1
- package/dist/components/CriticalActionDialog/utils.d.ts +5 -0
- package/dist/components/CriticalActionDialog/utils.js +4 -0
- package/dist/components/CriticalActionDialog/utils.js.map +1 -0
- package/dist/components/DiskStateProgressBar/DiskStateProgressBar.scss +5 -3
- package/dist/components/EntityPageTitle/EntityPageTitle.d.ts +1 -2
- package/dist/components/EntityPageTitle/EntityPageTitle.js +2 -2
- package/dist/components/EntityPageTitle/EntityPageTitle.js.map +1 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js +1 -1
- package/dist/components/InfoViewerSkeleton/InfoViewerSkeleton.js.map +1 -1
- package/dist/components/LinkWithIcon/LinkWithIcon.d.ts +2 -1
- package/dist/components/LinkWithIcon/LinkWithIcon.js +3 -3
- package/dist/components/LinkWithIcon/LinkWithIcon.js.map +1 -1
- package/dist/components/Loader/Loader.js +1 -1
- package/dist/components/Loader/Loader.js.map +1 -1
- package/dist/components/PDiskInfo/PDiskInfo.js +1 -7
- package/dist/components/PDiskInfo/PDiskInfo.js.map +1 -1
- package/dist/components/PDiskInfo/i18n/en.json +0 -1
- package/dist/components/PDiskInfo/i18n/index.d.ts +1 -1
- package/dist/components/PDiskPopup/PDiskPopup.js +3 -5
- package/dist/components/PDiskPopup/PDiskPopup.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.d.ts +2 -1
- package/dist/components/PaginatedTable/PaginatedTable.js +2 -2
- package/dist/components/PaginatedTable/PaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/PaginatedTable.scss +12 -14
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.js +2 -1
- package/dist/components/PaginatedTable/ResizeablePaginatedTable.js.map +1 -1
- package/dist/components/PaginatedTable/TableChunk.js +7 -2
- package/dist/components/PaginatedTable/TableChunk.js.map +1 -1
- package/dist/components/PaginatedTable/TableHead.js +14 -10
- package/dist/components/PaginatedTable/TableHead.js.map +1 -1
- package/dist/components/PaginatedTable/TableRow.js +14 -6
- package/dist/components/PaginatedTable/TableRow.js.map +1 -1
- package/dist/components/PaginatedTable/types.d.ts +1 -1
- package/dist/components/Skeleton/Skeleton.js +1 -1
- package/dist/components/Skeleton/Skeleton.js.map +1 -1
- package/dist/components/TableWithControlsLayout/TableWithControlsLayout.scss +5 -0
- package/dist/components/VDisk/VDisk.d.ts +6 -3
- package/dist/components/VDisk/VDisk.js +6 -4
- package/dist/components/VDisk/VDisk.js.map +1 -1
- package/dist/components/VDisk/VDiskWithDonorsStack.d.ts +3 -5
- package/dist/components/VDisk/VDiskWithDonorsStack.js +4 -4
- package/dist/components/VDisk/VDiskWithDonorsStack.js.map +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.js +1 -1
- package/dist/components/VDiskPopup/VDiskPopup.js.map +1 -1
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.d.ts +11 -0
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js +91 -0
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.js.map +1 -0
- package/dist/containers/PDiskPage/DecommissionButton/DecommissionButton.scss +6 -0
- package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.d.ts +6 -0
- package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js +20 -0
- package/dist/containers/PDiskPage/DecommissionLabel/DecommissionLabel.js.map +1 -0
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js +4 -8
- package/dist/containers/PDiskPage/PDiskGroups/PDiskGroups.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.js +32 -14
- package/dist/containers/PDiskPage/PDiskPage.js.map +1 -1
- package/dist/containers/PDiskPage/PDiskPage.scss +7 -0
- package/dist/containers/PDiskPage/i18n/en.json +16 -2
- package/dist/containers/PDiskPage/i18n/index.d.ts +1 -1
- package/dist/containers/Storage/Disks/Disks.d.ts +9 -0
- package/dist/containers/Storage/Disks/Disks.js +37 -0
- package/dist/containers/Storage/Disks/Disks.js.map +1 -0
- package/dist/containers/Storage/Disks/Disks.scss +46 -0
- package/dist/containers/Storage/PDisk/PDisk.d.ts +6 -2
- package/dist/containers/Storage/PDisk/PDisk.js +14 -7
- package/dist/containers/Storage/PDisk/PDisk.js.map +1 -1
- package/dist/containers/Storage/PDisk/PDisk.scss +4 -2
- package/dist/containers/Storage/PaginatedStorage.js +1 -4
- package/dist/containers/Storage/PaginatedStorage.js.map +1 -1
- package/dist/containers/Storage/Storage.js +2 -4
- package/dist/containers/Storage/Storage.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.d.ts +1 -3
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js +4 -5
- package/dist/containers/Storage/StorageGroups/PaginatedStorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/StorageGroups.d.ts +1 -4
- package/dist/containers/Storage/StorageGroups/StorageGroups.js +4 -7
- package/dist/containers/Storage/StorageGroups/StorageGroups.js.map +1 -1
- package/dist/containers/Storage/StorageGroups/{StorageGroups.scss → columns/StorageGroupsColumns.scss} +3 -2
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.d.ts +21 -0
- package/dist/containers/Storage/StorageGroups/{getStorageGroupsColumns.js → columns/getStorageGroupsColumns.js} +41 -21
- package/dist/containers/Storage/StorageGroups/columns/getStorageGroupsColumns.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.d.ts +3 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.js +19 -0
- package/dist/containers/Storage/StorageGroups/columns/hooks.js.map +1 -0
- package/dist/containers/Storage/StorageGroups/columns/types.d.ts +14 -0
- package/dist/containers/Storage/StorageGroups/columns/types.js +2 -0
- package/dist/containers/Storage/StorageGroups/columns/types.js.map +1 -0
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.d.ts +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js +1 -1
- package/dist/containers/Storage/StorageNodes/getStorageNodesColumns.js.map +1 -1
- package/dist/containers/Tablet/Tablet.js +13 -11
- package/dist/containers/Tablet/Tablet.js.map +1 -1
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js +1 -1
- package/dist/containers/Tablet/components/TabletControls/TabletControls.js.map +1 -1
- package/dist/containers/Tablet/i18n/en.json +6 -3
- package/dist/containers/Tablet/i18n/index.d.ts +1 -1
- package/dist/containers/Tablets/Tablets.js +1 -1
- package/dist/containers/Tablets/Tablets.js.map +1 -1
- package/dist/containers/Tablets/i18n/en.json +2 -1
- package/dist/containers/Tablets/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TenantOverview/TenantStorage/TopGroups.js.map +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js +1 -1
- package/dist/containers/Tenant/Diagnostics/TopShards/TopShards.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js +3 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.js.map +1 -1
- package/dist/containers/Tenant/Query/ExecuteResult/ExecuteResult.scss +6 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.d.ts +5 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js +43 -0
- package/dist/containers/Tenant/Query/ExecuteResult/TraceButton.js.map +1 -0
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/en.json +2 -1
- package/dist/containers/Tenant/Query/ExecuteResult/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js +4 -4
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettings.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js +4 -4
- package/dist/containers/Tenant/Query/QueryEditorControls/utils/getChangedQueryExecutionSettingsDescription.test.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsDialog.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/QuerySettingsSelect.d.ts +2 -2
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.d.ts +14 -4
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js +22 -17
- package/dist/containers/Tenant/Query/QuerySettingsDialog/constants.js.map +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/en.json +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/QuerySettingsDialog/i18n/ru.json +1 -1
- package/dist/containers/Tenant/Query/i18n/en.json +5 -4
- package/dist/containers/Tenant/Query/i18n/index.d.ts +1 -1
- package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.d.ts +1 -0
- package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js +50 -0
- package/dist/containers/Tenant/Query/utils/__test__/replaceParams.test.js.map +1 -0
- package/dist/containers/Tenant/Query/utils/replaceParams.d.ts +1 -0
- package/dist/containers/Tenant/Query/utils/replaceParams.js +6 -0
- package/dist/containers/Tenant/Query/utils/replaceParams.js.map +1 -0
- package/dist/containers/UserSettings/i18n/en.json +2 -0
- package/dist/containers/UserSettings/i18n/index.d.ts +1 -1
- package/dist/containers/UserSettings/settings.d.ts +1 -0
- package/dist/containers/UserSettings/settings.js +12 -2
- package/dist/containers/UserSettings/settings.js.map +1 -1
- package/dist/containers/VDiskPage/VDiskPage.js +5 -8
- package/dist/containers/VDiskPage/VDiskPage.js.map +1 -1
- package/dist/containers/VDiskPage/i18n/en.json +2 -1
- package/dist/containers/VDiskPage/i18n/index.d.ts +1 -1
- package/dist/services/api.d.ts +12 -3
- package/dist/services/api.js +51 -8
- package/dist/services/api.js.map +1 -1
- package/dist/services/parsers/parseMetaCluster.js +34 -1
- package/dist/services/parsers/parseMetaCluster.js.map +1 -1
- package/dist/services/settings.d.ts +2 -1
- package/dist/services/settings.js +2 -1
- package/dist/services/settings.js.map +1 -1
- package/dist/store/reducers/cluster/cluster.js.map +1 -1
- package/dist/store/reducers/executeQuery.js +5 -1
- package/dist/store/reducers/executeQuery.js.map +1 -1
- package/dist/store/reducers/explainQuery/explainQuery.js +3 -1
- package/dist/store/reducers/explainQuery/explainQuery.js.map +1 -1
- package/dist/store/reducers/trace.d.ts +8 -0
- package/dist/store/reducers/trace.js +21 -0
- package/dist/store/reducers/trace.js.map +1 -0
- package/dist/types/api/cluster.d.ts +3 -0
- package/dist/types/api/meta.d.ts +2 -0
- package/dist/types/api/modifyDisk.d.ts +1 -0
- package/dist/types/api/pdisk.d.ts +1 -1
- package/dist/types/api/query.d.ts +8 -4
- package/dist/types/api/trace.d.ts +7 -0
- package/dist/types/api/trace.js +2 -0
- package/dist/types/api/trace.js.map +1 -0
- package/dist/types/store/query.d.ts +4 -3
- package/dist/utils/constants.d.ts +2 -1
- package/dist/utils/constants.js +3 -2
- package/dist/utils/constants.js.map +1 -1
- package/dist/utils/disks/helpers.d.ts +1 -1
- package/dist/utils/disks/helpers.js +5 -1
- package/dist/utils/disks/helpers.js.map +1 -1
- package/dist/utils/disks/prepareDisks.js +10 -5
- package/dist/utils/disks/prepareDisks.js.map +1 -1
- package/dist/utils/hooks/useDelayed.d.ts +1 -1
- package/dist/utils/hooks/useDelayed.js +6 -1
- package/dist/utils/hooks/useDelayed.js.map +1 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.d.ts +1 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.js +11 -1
- package/dist/utils/hooks/useLastQueryExecutionSettings.js.map +1 -1
- package/dist/utils/hooks/useQueryExecutionSettings.d.ts +1 -7
- package/dist/utils/hooks/useQueryExecutionSettings.js +12 -10
- package/dist/utils/hooks/useQueryExecutionSettings.js.map +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +5 -0
- package/dist/utils/index.js.map +1 -1
- package/dist/utils/query.d.ts +4 -3
- package/dist/utils/query.js +9 -7
- package/dist/utils/query.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/CriticalActionDialog/index.d.ts +0 -1
- package/dist/components/CriticalActionDialog/index.js +0 -2
- package/dist/components/CriticalActionDialog/index.js.map +0 -1
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.d.ts +0 -62
- package/dist/containers/Storage/StorageGroups/getStorageGroupsColumns.js.map +0 -1
@@ -14,7 +14,6 @@ import { ResizeableDataTable } from '../../components/ResizeableDataTable/Resize
|
|
14
14
|
import { VDiskInfo } from '../../components/VDiskInfo/VDiskInfo';
|
15
15
|
import { selectIsUserAllowedToMakeChanges } from '../../store/reducers/authentication/authentication';
|
16
16
|
import { setHeaderBreadcrumbs } from '../../store/reducers/header/header';
|
17
|
-
import { selectNodesMap } from '../../store/reducers/nodesList';
|
18
17
|
import { vDiskApi } from '../../store/reducers/vdisk/vdisk';
|
19
18
|
import { valueIsDefined } from '../../utils';
|
20
19
|
import { cn } from '../../utils/cn';
|
@@ -22,7 +21,8 @@ import { DEFAULT_TABLE_SETTINGS } from '../../utils/constants';
|
|
22
21
|
import { stringifyVdiskId } from '../../utils/dataFormatters/dataFormatters';
|
23
22
|
import { getSeverityColor } from '../../utils/disks/helpers';
|
24
23
|
import { useAutoRefreshInterval, useTypedDispatch, useTypedSelector } from '../../utils/hooks';
|
25
|
-
import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY
|
24
|
+
import { STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY } from '../Storage/StorageGroups/columns/getStorageGroupsColumns';
|
25
|
+
import { useGetDiskStorageColumns } from '../Storage/StorageGroups/columns/hooks';
|
26
26
|
import { vDiskPageKeyset } from './i18n';
|
27
27
|
import './VDiskPage.scss';
|
28
28
|
const vDiskPageCn = cn('ydb-vdisk-page');
|
@@ -99,7 +99,7 @@ export function VDiskPage() {
|
|
99
99
|
return (_jsx(EntityPageTitle, { className: vDiskPageCn('title'), entityName: vDiskPageKeyset('vdisk'), status: getSeverityColor(Severity), id: stringifyVdiskId(vDiskData === null || vDiskData === void 0 ? void 0 : vDiskData.VDiskId) }));
|
100
100
|
};
|
101
101
|
const renderControls = () => {
|
102
|
-
return (_jsx("div", { className: vDiskPageCn('controls'), children: _jsxs(ButtonWithConfirmDialog, { onConfirmAction: handleEvictVDisk, onConfirmActionSuccess: handleAfterEvictVDisk, buttonDisabled: !vDiskIdParamsDefined || !isUserAllowedToMakeChanges, buttonView: "normal",
|
102
|
+
return (_jsx("div", { className: vDiskPageCn('controls'), children: _jsxs(ButtonWithConfirmDialog, { onConfirmAction: handleEvictVDisk, onConfirmActionSuccess: handleAfterEvictVDisk, buttonDisabled: !vDiskIdParamsDefined || !isUserAllowedToMakeChanges, buttonView: "normal", dialogHeader: vDiskPageKeyset('evict-vdisk-dialog-header'), dialogText: vDiskPageKeyset('evict-vdisk-dialog-text'), retryButtonText: vDiskPageKeyset('force-evict-vdisk-button'), withPopover: true, popoverContent: vDiskPageKeyset('evict-vdisk-not-allowed'), popoverDisabled: isUserAllowedToMakeChanges, children: [_jsx(Icon, { data: ArrowsOppositeToDots }), vDiskPageKeyset('evict-vdisk-button')] }) }));
|
103
103
|
};
|
104
104
|
const renderInfo = () => {
|
105
105
|
return _jsx(VDiskInfo, { data: vDiskData, className: vDiskPageCn('info') });
|
@@ -119,10 +119,7 @@ export function VDiskPage() {
|
|
119
119
|
return (_jsxs("div", { className: vDiskPageCn(null), children: [renderHelmet(), renderPageMeta(), renderPageTitle(), renderControls(), renderContent()] }));
|
120
120
|
}
|
121
121
|
export function VDiskGroup({ data }) {
|
122
|
-
const
|
123
|
-
|
124
|
-
return getDiskPageStorageColumns(nodesMap);
|
125
|
-
}, [nodesMap]);
|
126
|
-
return (_jsx(ResizeableDataTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, data: [data], columns: pDiskStorageColumns, settings: DEFAULT_TABLE_SETTINGS }));
|
122
|
+
const vDiskStorageColumns = useGetDiskStorageColumns();
|
123
|
+
return (_jsx(ResizeableDataTable, { columnsWidthLSKey: STORAGE_GROUPS_COLUMNS_WIDTH_LS_KEY, data: [data], columns: vDiskStorageColumns, settings: DEFAULT_TABLE_SETTINGS }));
|
127
124
|
}
|
128
125
|
//# sourceMappingURL=VDiskPage.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"VDiskPage.js","sourceRoot":"","sources":["../../../src/containers/VDiskPage/VDiskPage.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAAC,oBAAoB,EAAC,MAAM,mBAAmB,CAAC;AACvD,OAAO,EAAC,IAAI,EAAC,MAAM,mBAAmB,CAAC;AACvC,OAAO,EAAC,SAAS,EAAC,MAAM,wBAAwB,CAAC;AACjD,OAAO,EAAC,MAAM,EAAC,MAAM,oBAAoB,CAAC;AAC1C,OAAO,EAAC,WAAW,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAE7D,OAAO,EAAC,uBAAuB,EAAC,MAAM,kEAAkE,CAAC;AACzG,OAAO,EAAC,eAAe,EAAC,MAAM,kDAAkD,CAAC;AACjF,OAAO,EAAC,aAAa,EAAC,MAAM,uCAAuC,CAAC;AACpE,OAAO,EAAC,kBAAkB,EAAC,MA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AChB,iBAAiB,EAAE,mCAAmC,EACtD,IAAI,EAAE,CAAC,IAAI,CAAC,EACZ,OAAO,EAAE,mBAAmB,EAC5B,QAAQ,EAAE,sBAAsB,GAClC,CACL,CAAC;AACN,CAAC"}
|
@@ -6,6 +6,7 @@
|
|
6
6
|
"group": "Group",
|
7
7
|
"evict-vdisk-button": "Evict VDisk",
|
8
8
|
"force-evict-vdisk-button": "Evict anyway",
|
9
|
-
"evict-vdisk-dialog": "VDisk
|
9
|
+
"evict-vdisk-dialog-header": "Evict VDisk",
|
10
|
+
"evict-vdisk-dialog-text": "VDisk will be evicted. Do you want to proceed?",
|
10
11
|
"evict-vdisk-not-allowed": "You don't have enough rights to evict VDisk"
|
11
12
|
}
|
@@ -1 +1 @@
|
|
1
|
-
export declare const vDiskPageKeyset: (key: "node" | "group" | "fqdn" | "pdisk" | "vdisk" | "evict-vdisk-button" | "force-evict-vdisk-button" | "evict-vdisk-dialog" | "evict-vdisk-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
|
1
|
+
export declare const vDiskPageKeyset: (key: "node" | "group" | "fqdn" | "pdisk" | "vdisk" | "evict-vdisk-button" | "force-evict-vdisk-button" | "evict-vdisk-dialog-header" | "evict-vdisk-dialog-text" | "evict-vdisk-not-allowed", params?: import("@gravity-ui/i18n").Params) => string;
|
package/dist/services/api.d.ts
CHANGED
@@ -15,8 +15,8 @@ import type { ModifyDiskResponse } from '../types/api/modifyDisk';
|
|
15
15
|
import type { TNetInfo } from '../types/api/netInfo';
|
16
16
|
import type { TNodesInfo } from '../types/api/nodes';
|
17
17
|
import type { TEvNodesInfo } from '../types/api/nodesList';
|
18
|
-
import type { TEvPDiskStateResponse, TPDiskInfoResponse } from '../types/api/pdisk';
|
19
|
-
import type { Actions, ErrorResponse, QueryAPIResponse, Schemas, Stats, Timeout, TracingLevel
|
18
|
+
import type { EDecommitStatus, TEvPDiskStateResponse, TPDiskInfoResponse } from '../types/api/pdisk';
|
19
|
+
import type { Actions, ErrorResponse, QueryAPIResponse, Schemas, Stats, Timeout, TracingLevel } from '../types/api/query';
|
20
20
|
import type { JsonRenderRequestParams, JsonRenderResponse } from '../types/api/render';
|
21
21
|
import type { TEvDescribeSchemeResult } from '../types/api/schema';
|
22
22
|
import type { TStorageInfo } from '../types/api/storage';
|
@@ -26,7 +26,7 @@ import type { TTenantInfo, TTenants } from '../types/api/tenant';
|
|
26
26
|
import type { DescribeTopicResult } from '../types/api/topic';
|
27
27
|
import type { TEvVDiskStateResponse } from '../types/api/vdisk';
|
28
28
|
import type { TUserToken } from '../types/api/whoami';
|
29
|
-
import type { QuerySyntax } from '../types/store/query';
|
29
|
+
import type { QuerySyntax, TransactionMode } from '../types/store/query';
|
30
30
|
import type { Nullable } from '../utils/typecheckers';
|
31
31
|
type AxiosOptions = {
|
32
32
|
concurrentId?: string;
|
@@ -126,6 +126,9 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
126
126
|
database: string;
|
127
127
|
enableSampling: boolean;
|
128
128
|
}, { concurrentId, signal }?: AxiosOptions): Promise<JsonHotKeysResponse>;
|
129
|
+
checkTrace({ url }: {
|
130
|
+
url: string;
|
131
|
+
}, { concurrentId, signal }?: AxiosOptions): Promise<any>;
|
129
132
|
getHealthcheckInfo({ database, maxLevel }: {
|
130
133
|
database: string;
|
131
134
|
maxLevel?: number;
|
@@ -143,6 +146,12 @@ export declare class YdbEmbeddedAPI extends AxiosWrapper {
|
|
143
146
|
pDiskId: number | string;
|
144
147
|
force?: boolean;
|
145
148
|
}): Promise<ModifyDiskResponse>;
|
149
|
+
changePDiskStatus({ nodeId, pDiskId, force, decommissionStatus, }: {
|
150
|
+
nodeId: number | string;
|
151
|
+
pDiskId: number | string;
|
152
|
+
force?: boolean;
|
153
|
+
decommissionStatus?: EDecommitStatus;
|
154
|
+
}): Promise<ModifyDiskResponse>;
|
146
155
|
killTablet(id: string): Promise<string>;
|
147
156
|
stopTablet(id: string, hiveId: string): Promise<string>;
|
148
157
|
resumeTablet(id: string, hiveId: string): Promise<string>;
|
package/dist/services/api.js
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
import AxiosWrapper from '@gravity-ui/axios-wrapper';
|
2
2
|
import axiosRetry from 'axios-retry';
|
3
|
-
import qs from 'qs';
|
4
3
|
import { backend as BACKEND, metaBackend as META_BACKEND } from '../store';
|
5
|
-
import { BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, DEV_ENABLE_TRACING_FOR_ALL_REQUESTS, } from '../utils/constants';
|
4
|
+
import { BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, DEV_ENABLE_TRACING_FOR_ALL_REQUESTS, SECOND_IN_MS, } from '../utils/constants';
|
6
5
|
import { prepareSortValue } from '../utils/filters';
|
7
6
|
import { parseMetaCluster } from './parsers/parseMetaCluster';
|
8
7
|
import { parseMetaTenants } from './parsers/parseMetaTenants';
|
9
8
|
import { settingsManager } from './settings';
|
9
|
+
// Overall timeout 53~71 s depending on server response time
|
10
|
+
const TRACE_CHECK_TIMEOUT = 2 * SECOND_IN_MS;
|
11
|
+
const MAX_TRACE_CHECK_RETRIES = 9;
|
10
12
|
export class YdbEmbeddedAPI extends AxiosWrapper {
|
11
13
|
constructor(options) {
|
12
14
|
super(options);
|
@@ -24,6 +26,20 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
24
26
|
}
|
25
27
|
return config;
|
26
28
|
});
|
29
|
+
// Add traceId to response if it exists
|
30
|
+
this._axios.interceptors.response.use(function (response) {
|
31
|
+
if (response.data &&
|
32
|
+
response.data instanceof Object &&
|
33
|
+
!Array.isArray(response.data) &&
|
34
|
+
response.headers['traceresponse']) {
|
35
|
+
const traceId = response.headers['traceresponse'].split('-')[1];
|
36
|
+
response.data = {
|
37
|
+
...response.data,
|
38
|
+
_meta: { ...response.data._meta, traceId },
|
39
|
+
};
|
40
|
+
}
|
41
|
+
return response;
|
42
|
+
});
|
27
43
|
// Interceptor to process OIDC auth
|
28
44
|
this._axios.interceptors.response.use(null, function (error) {
|
29
45
|
var _a;
|
@@ -264,26 +280,53 @@ export class YdbEmbeddedAPI extends AxiosWrapper {
|
|
264
280
|
enable_sampling: enableSampling,
|
265
281
|
}, { concurrentId: concurrentId || 'getHotKeys', requestConfig: { signal } });
|
266
282
|
}
|
283
|
+
checkTrace({ url }, { concurrentId, signal } = {}) {
|
284
|
+
return this.get(url, {}, {
|
285
|
+
concurrentId: concurrentId || 'checkTrace',
|
286
|
+
requestConfig: {
|
287
|
+
signal,
|
288
|
+
timeout: TRACE_CHECK_TIMEOUT,
|
289
|
+
'axios-retry': {
|
290
|
+
retries: MAX_TRACE_CHECK_RETRIES,
|
291
|
+
retryDelay: axiosRetry.exponentialDelay,
|
292
|
+
shouldResetTimeout: true,
|
293
|
+
retryCondition: () => true,
|
294
|
+
},
|
295
|
+
},
|
296
|
+
});
|
297
|
+
}
|
267
298
|
getHealthcheckInfo({ database, maxLevel }, { concurrentId, signal } = {}) {
|
268
299
|
return this.get(this.getPath('/viewer/json/healthcheck?merge_records=true'), { database, tenant: database, max_level: maxLevel }, { concurrentId, requestConfig: { signal } });
|
269
300
|
}
|
270
301
|
evictVDisk({ groupId, groupGeneration, failRealmIdx, failDomainIdx, vDiskIdx, force, }) {
|
271
|
-
|
302
|
+
return this.post(this.getPath('/vdisk/evict'), {}, {
|
272
303
|
group_id: groupId,
|
273
304
|
group_generation_id: groupGeneration,
|
274
305
|
fail_realm_idx: failRealmIdx,
|
275
306
|
fail_domain_idx: failDomainIdx,
|
276
307
|
vdisk_idx: vDiskIdx,
|
277
308
|
force,
|
278
|
-
}
|
279
|
-
const paramsString = qs.stringify(params);
|
280
|
-
const path = this.getPath(`/vdisk/evict?${paramsString}`);
|
281
|
-
return this.post(path, {}, {}, {
|
309
|
+
}, {
|
282
310
|
requestConfig: { 'axios-retry': { retries: 0 } },
|
283
311
|
});
|
284
312
|
}
|
285
313
|
restartPDisk({ nodeId, pDiskId, force, }) {
|
286
|
-
return this.post(this.getPath(
|
314
|
+
return this.post(this.getPath('/pdisk/restart'), {}, {
|
315
|
+
node_id: nodeId,
|
316
|
+
pdisk_id: pDiskId,
|
317
|
+
force,
|
318
|
+
}, {
|
319
|
+
requestConfig: { 'axios-retry': { retries: 0 } },
|
320
|
+
});
|
321
|
+
}
|
322
|
+
changePDiskStatus({ nodeId, pDiskId, force, decommissionStatus, }) {
|
323
|
+
return this.post(this.getPath('/pdisk/status'), {
|
324
|
+
decommit_status: decommissionStatus,
|
325
|
+
}, {
|
326
|
+
node_id: nodeId,
|
327
|
+
pdisk_id: pDiskId,
|
328
|
+
force,
|
329
|
+
}, {
|
287
330
|
requestConfig: { 'axios-retry': { retries: 0 } },
|
288
331
|
});
|
289
332
|
}
|
package/dist/services/api.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"api.js","sourceRoot":"","sources":["../../src/services/api.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,MAAM,2BAA2B,CAAC;AAGrD,OAAO,UAAU,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,MAAM,IAAI,CAAC;AAEpB,OAAO,EAAC,OAAO,IAAI,OAAO,EAAE,WAAW,IAAI,YAAY,EAAC,MAAM,UAAU,CAAC;AA0CzE,OAAO,EACH,iCAAiC,EACjC,mCAAmC,GACtC,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAC,gBAAgB,EAAC,MAAM,kBAAkB,CAAC;AAGlD,OAAO,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,gBAAgB,EAAC,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAC,eAAe,EAAC,MAAM,YAAY,CAAC;AAQ3C,MAAM,OAAO,cAAe,SAAQ,YAAY;IAG5C,YAAY,OAA6B;QACrC,KAAK,CAAC,OAAO,CAAC,CAAC;QAHnB,0BAAqB,GAAG,CAAC,CAAC;QAKtB,UAAU,CAAC,IAAI,CAAC,MAAM,EAAE;YACpB,OAAO,EAAE,IAAI,CAAC,qBAAqB;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,MAAM,EAAC,EAAC,CACtE,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC7B,CAAC;IAED,UAAU,CAAC,WAAmB,EAAE,EAAC,YAAY,EAAE,MAAM,KAAkB,EAAE;QACrE,OAAO,IAAI,CAAC,GAAG,CACX,GAAG,YAAY,IAAI,EAAE,oBAAoB,EACzC;YACI,YAAY,EAAE,WAAW;SAC5B,EACD,EAAC,YAAY,EAAE,aAAa,EAAE,EAAC,MAAM,EAAC,EAAC,CAC1C,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;IAC7B,CAAC;CACJ;AAED,MAAM,UAAU,SAAS,CAAC,EAAC,UAAU,GAAG,KAAK,EAAE,eAAe,GAAG,KAAK,EAAC,GAAG,EAAE;IACxE,MAAM,MAAM,GAAuB,EAAC,eAAe,EAAC,CAAC;IACrD,MAAM,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,IAAI,gBAAgB,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC,CAAC,CAAC,IAAI,cAAc,CAAC,EAAC,MAAM,EAAC,CAAC,CAAC;IACvF,OAAO,GAAG,CAAC;AACf,CAAC"}
|
@@ -1,11 +1,44 @@
|
|
1
|
+
function isTraceCheck(obj) {
|
2
|
+
return Boolean(obj instanceof Object && obj.url);
|
3
|
+
}
|
4
|
+
function isTraceView(obj) {
|
5
|
+
return Boolean(obj instanceof Object && obj.url);
|
6
|
+
}
|
1
7
|
export const parseMetaCluster = (data) => {
|
2
8
|
const { cluster = {} } = data;
|
3
|
-
const { cluster: generalClusterInfo, balancer, solomon } = cluster;
|
9
|
+
const { cluster: generalClusterInfo, balancer, solomon, trace_check: traceCheck, trace_view: traceView, } = cluster;
|
10
|
+
let TraceCheck;
|
11
|
+
let TraceView;
|
12
|
+
try {
|
13
|
+
if (traceCheck) {
|
14
|
+
const parsedTraceCheck = JSON.parse(traceCheck);
|
15
|
+
if (isTraceCheck(parsedTraceCheck)) {
|
16
|
+
TraceCheck = parsedTraceCheck;
|
17
|
+
}
|
18
|
+
else {
|
19
|
+
console.error('Parsed traceCheck does not match TTraceCheck structure');
|
20
|
+
}
|
21
|
+
}
|
22
|
+
if (traceView) {
|
23
|
+
const parsedTraceView = JSON.parse(traceView);
|
24
|
+
if (isTraceView(parsedTraceView)) {
|
25
|
+
TraceView = parsedTraceView;
|
26
|
+
}
|
27
|
+
else {
|
28
|
+
console.error('Parsed traceView does not match TTraceView structure');
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
catch (e) {
|
33
|
+
console.error('Error parsing JSON:', e);
|
34
|
+
}
|
4
35
|
return {
|
5
36
|
...generalClusterInfo,
|
6
37
|
Name: cluster.title || (generalClusterInfo === null || generalClusterInfo === void 0 ? void 0 : generalClusterInfo.Name),
|
7
38
|
Balancer: balancer,
|
8
39
|
Solomon: solomon,
|
40
|
+
TraceCheck,
|
41
|
+
TraceView,
|
9
42
|
};
|
10
43
|
};
|
11
44
|
//# sourceMappingURL=parseMetaCluster.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"parseMetaCluster.js","sourceRoot":"","sources":["../../../src/services/parsers/parseMetaCluster.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"parseMetaCluster.js","sourceRoot":"","sources":["../../../src/services/parsers/parseMetaCluster.ts"],"names":[],"mappings":"AAIA,SAAS,YAAY,CAAC,GAAyB;IAC3C,OAAO,OAAO,CAAC,GAAG,YAAY,MAAM,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC;AACrD,CAAC;AAED,SAAS,WAAW,CAAC,GAAwB;IACzC,OAAO,OAAO,CAAC,GAAG,YAAY,MAAM,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC;AACrD,CAAC;AAED,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,IAAiB,EAAgB,EAAE;IAChE,MAAM,EAAC,OAAO,GAAG,EAAE,EAAC,GAAG,IAAI,CAAC;IAE5B,MAAM,EACF,OAAO,EAAE,kBAAkB,EAC3B,QAAQ,EACR,OAAO,EACP,WAAW,EAAE,UAAU,EACvB,UAAU,EAAE,SAAS,GACxB,GAAG,OAAO,CAAC;IAEZ,IAAI,UAAmC,CAAC;IACxC,IAAI,SAAiC,CAAC;IAEtC,IAAI,CAAC;QACD,IAAI,UAAU,EAAE,CAAC;YACb,MAAM,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;YAChD,IAAI,YAAY,CAAC,gBAAgB,CAAC,EAAE,CAAC;gBACjC,UAAU,GAAG,gBAAgB,CAAC;YAClC,CAAC;iBAAM,CAAC;gBACJ,OAAO,CAAC,KAAK,CAAC,wDAAwD,CAAC,CAAC;YAC5E,CAAC;QACL,CAAC;QAED,IAAI,SAAS,EAAE,CAAC;YACZ,MAAM,eAAe,GAAG,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,CAAC;YAC9C,IAAI,WAAW,CAAC,eAAe,CAAC,EAAE,CAAC;gBAC/B,SAAS,GAAG,eAAe,CAAC;YAChC,CAAC;iBAAM,CAAC;gBACJ,OAAO,CAAC,KAAK,CAAC,sDAAsD,CAAC,CAAC;YAC1E,CAAC;QACL,CAAC;IACL,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACT,OAAO,CAAC,KAAK,CAAC,qBAAqB,EAAE,CAAC,CAAC,CAAC;IAC5C,CAAC;IAED,OAAO;QACH,GAAG,kBAAkB;QACrB,IAAI,EAAE,OAAO,CAAC,KAAK,KAAI,kBAAkB,aAAlB,kBAAkB,uBAAlB,kBAAkB,CAAE,IAAI,CAAA;QAE/C,QAAQ,EAAE,QAAQ;QAClB,OAAO,EAAE,OAAO;QAChB,UAAU;QACV,SAAS;KACZ,CAAC;AACN,CAAC,CAAC"}
|
@@ -5,6 +5,7 @@ export declare const DEFAULT_USER_SETTINGS: {
|
|
5
5
|
readonly language: undefined;
|
6
6
|
readonly invertedDisks: false;
|
7
7
|
readonly useNodesEndpointInDiagnostics: true;
|
8
|
+
readonly use_advanced_storage: false;
|
8
9
|
readonly queryUseMultiSchema: true;
|
9
10
|
readonly binaryDataInPlainTextDisplay: true;
|
10
11
|
readonly saved_queries: readonly [];
|
@@ -23,7 +24,7 @@ export declare const DEFAULT_USER_SETTINGS: {
|
|
23
24
|
readonly querySettingsBannerLastClosed: undefined;
|
24
25
|
readonly queryExecutionSettings: {
|
25
26
|
queryMode: "query";
|
26
|
-
|
27
|
+
transactionMode: "implicit";
|
27
28
|
timeout: string;
|
28
29
|
statisticsMode: "none";
|
29
30
|
tracingLevel: "detailed";
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { TENANT_PAGES_IDS } from '../store/reducers/tenant/constants';
|
2
|
-
import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, DEFAULT_QUERY_SETTINGS, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SAVED_QUERIES_KEY, SHOW_DOMAIN_DATABASE_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY, USE_PAGINATED_TABLES_KEY, } from '../utils/constants';
|
2
|
+
import { ASIDE_HEADER_COMPACT_KEY, AUTOCOMPLETE_ON_ENTER, AUTO_REFRESH_INTERVAL, BINARY_DATA_IN_PLAIN_TEXT_DISPLAY, DEFAULT_QUERY_SETTINGS, ENABLE_AUTOCOMPLETE, INVERTED_DISKS_KEY, IS_HOTKEYS_HELP_HIDDEN_KEY, LANGUAGE_KEY, LAST_QUERY_EXECUTION_SETTINGS_KEY, LAST_USED_QUERY_ACTION_KEY, PARTITIONS_HIDDEN_COLUMNS_KEY, QUERY_EXECUTION_SETTINGS_KEY, QUERY_SETTINGS_BANNER_LAST_CLOSED_KEY, QUERY_USE_MULTI_SCHEMA_KEY, SAVED_QUERIES_KEY, SHOW_DOMAIN_DATABASE_KEY, TENANT_INITIAL_PAGE_KEY, THEME_KEY, USE_ADVANCED_STORAGE_KEY, USE_CLUSTER_BALANCER_AS_BACKEND_KEY, USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY, USE_PAGINATED_TABLES_KEY, } from '../utils/constants';
|
3
3
|
import { QUERY_ACTIONS } from '../utils/query';
|
4
4
|
import { parseJson } from '../utils/utils';
|
5
5
|
/** User settings keys and their default values */
|
@@ -8,6 +8,7 @@ export const DEFAULT_USER_SETTINGS = {
|
|
8
8
|
[LANGUAGE_KEY]: undefined,
|
9
9
|
[INVERTED_DISKS_KEY]: false,
|
10
10
|
[USE_NODES_ENDPOINT_IN_DIAGNOSTICS_KEY]: true,
|
11
|
+
[USE_ADVANCED_STORAGE_KEY]: false,
|
11
12
|
[QUERY_USE_MULTI_SCHEMA_KEY]: true,
|
12
13
|
[BINARY_DATA_IN_PLAIN_TEXT_DISPLAY]: true,
|
13
14
|
[SAVED_QUERIES_KEY]: [],
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"settings.js","sourceRoot":"","sources":["../../src/services/settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,gBAAgB,EAAC,MAAM,oCAAoC,CAAC;AACpE,OAAO,EACH,wBAAwB,EACxB,qBAAqB,EACrB,qBAAqB,EACrB,iCAAiC,EACjC,sBAAsB,EACtB,mBAAmB,EACnB,kBAAkB,EAClB,0BAA0B,EAC1B,YAAY,EACZ,iCAAiC,EACjC,0BAA0B,EAC1B,6BAA6B,EAC7B,4BAA4B,EAC5B,qCAAqC,EACrC,0BAA0B,EAC1B,iBAAiB,EACjB,wBAA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129
|
endpoints: (build) => ({
|
130
130
|
executeQuery: build.mutation({
|
131
131
|
queryFn: async ({ query, database, querySettings = {}, schema = 'modern', enableTracingLevel, queryId, }, { signal, dispatch }) => {
|
132
|
+
var _a;
|
132
133
|
let action = 'execute';
|
133
134
|
let syntax = QUERY_SYNTAX.yql;
|
134
135
|
if (querySettings.queryMode === 'pg') {
|
@@ -150,7 +151,9 @@ export const executeQueryApi = api.injectEndpoints({
|
|
150
151
|
tracingLevel: querySettings.tracingLevel && enableTracingLevel
|
151
152
|
? TracingLevelNumber[querySettings.tracingLevel]
|
152
153
|
: undefined,
|
153
|
-
transaction_mode: querySettings.
|
154
|
+
transaction_mode: querySettings.transactionMode === 'implicit'
|
155
|
+
? undefined
|
156
|
+
: querySettings.transactionMode,
|
154
157
|
timeout: isNumeric(querySettings.timeout)
|
155
158
|
? Number(querySettings.timeout) * 1000
|
156
159
|
: undefined,
|
@@ -160,6 +163,7 @@ export const executeQueryApi = api.injectEndpoints({
|
|
160
163
|
return { error: response };
|
161
164
|
}
|
162
165
|
const data = parseQueryAPIExecuteResponse(response);
|
166
|
+
data.traceId = (_a = response._meta) === null || _a === void 0 ? void 0 : _a.traceId;
|
163
167
|
const queryStats = {};
|
164
168
|
if (data.stats) {
|
165
169
|
const { DurationUs, Executions: [{ FinishTimeMs }] = [{}] } = data.stats;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"executeQuery.js","sourceRoot":"","sources":["../../../src/store/reducers/executeQuery.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AACxD,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAczD,OAAO,EAAC,mBAAmB,EAAC,MAAM,uBAAuB,CAAC;AAC1D,OAAO,EAAC,YAAY,EAAE,oBAAoB,EAAE,4BAA4B,EAAC,MAAM,mBAAmB,CAAC;AACnG,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,O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G,CAAC,KAA6B,EAAU,EAAE;IAChF,OAAO,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC;AACnD,CAAC,CAAC;AAEF,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,KAA6B,EAAoB,EAAE;;IACpF,MAAM,KAAK,GAAG,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,OAAO,CAAC;IACjD,MAAM,MAAM,GAAG,MAAA,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,MAAM,0CAAE,WAAW,EAAE,CAAC;IAEhE,OAAO,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;AAClG,CAAC,CAAC;AAEF,SAAS,iBAAiB,CAAC,QAAiC;IACxD,IAAI,OAAO,QAAQ,KAAK,QAAQ,EAAE,CAAC;QAC/B,OAAO;YACH,SAAS,EAAE,QAAQ;SACtB,CAAC;IACN,CAAC;IACD,OAAO,QAAQ,CAAC;AACpB,CAAC;AAED,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,MAAc,EAAE,EAAE;IACpD,OAAO;QACH,IAAI,EAAE,wBAAwB;QAC9B,IAAI,EAAE,EAAC,MAAM,EAAC;KACR,CAAC;AACf,CAAC,CAAC;AAEF,eAAe,YAAY,CAAC"}
|
@@ -26,7 +26,9 @@ export const explainQueryApi = api.injectEndpoints({
|
|
26
26
|
tracingLevel: (querySettings === null || querySettings === void 0 ? void 0 : querySettings.tracingLevel) && enableTracingLevel
|
27
27
|
? TracingLevelNumber[querySettings === null || querySettings === void 0 ? void 0 : querySettings.tracingLevel]
|
28
28
|
: undefined,
|
29
|
-
transaction_mode: querySettings === null || querySettings === void 0 ? void 0 : querySettings.
|
29
|
+
transaction_mode: (querySettings === null || querySettings === void 0 ? void 0 : querySettings.transactionMode) === 'implicit'
|
30
|
+
? undefined
|
31
|
+
: querySettings === null || querySettings === void 0 ? void 0 : querySettings.transactionMode,
|
30
32
|
timeout: isNumeric(querySettings === null || querySettings === void 0 ? void 0 : querySettings.timeout)
|
31
33
|
? Number(querySettings === null || querySettings === void 0 ? void 0 : querySettings.timeout) * 1000
|
32
34
|
: undefined,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"explainQuery.js","sourceRoot":"","sources":["../../../../src/store/reducers/explainQuery/explainQuery.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,kBAAkB,EAAC,MAAM,0BAA0B,CAAC;AAG5D,OAAO,EAAC,YAAY,EAAE,oBAAoB,EAAC,MAAM,sBAAsB,CAAC;AACxE,OAAO,EAAC,SAAS,EAAC,MAAM,sBAAsB,CAAC;AAC/C,OAAO,EAAC,GAAG,EAAC,MAAM,QAAQ,CAAC;AAG3B,OAAO,EAAC,sBAAsB,EAAC,MAAM,SAAS,CAAC;AAU/C,MAAM,CAAC,MAAM,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;IAC/C,SAAS,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;QACnB,YAAY,EAAE,KAAK,CAAC,QAAQ,CAA8C;YACtE,OAAO,EAAE,KAAK,EACV,EAAC,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAE,kBAAkB,EAAE,OAAO,EAAC,EAC7D,EAAC,MAAM,EAAC,EACV,EAAE;gBACA,IAAI,MAAM,GAAmB,SAAS,CAAC;gBACvC,IAAI,MAAM,GAAgB,YAAY,CAAC,GAAG,CAAC;gBAE3C,IAAI,CAAA,aAAa,aAAb,aAAa,uBAAb,aAAa,CAAE,SAAS,MAAK,IAAI,EAAE,CAAC;oBACpC,MAAM,GAAG,eAAe,CAAC;oBACzB,MAAM,GAAG,YAAY,CAAC,EAAE,CAAC;gBAC7B,CAAC;qBAAM,IAAI,aAAa,aAAb,aAAa,uBAAb,aAAa,CA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,CAAC,EAAE,CAAC;wBACjC,OAAO,EAAC,KAAK,EAAE,QAAQ,EAAC,CAAC;oBAC7B,CAAC;oBAED,MAAM,IAAI,GAAG,sBAAsB,CAAC,QAAQ,CAAC,CAAC;oBAC9C,OAAO,EAAC,IAAI,EAAC,CAAC;gBAClB,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAC,CAAC;gBACnB,CAAC;YACL,CAAC;SACJ,CAAC;KACL,CAAC;IACF,gBAAgB,EAAE,OAAO;CAC5B,CAAC,CAAC"}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { BaseQueryFn } from '@reduxjs/toolkit/query';
|
2
|
+
interface CheckTraceParams {
|
3
|
+
url?: string;
|
4
|
+
}
|
5
|
+
export declare const traceApi: import("@reduxjs/toolkit/query").Api<BaseQueryFn<void, typeof import("./api")._NEVER, unknown, {}>, {
|
6
|
+
checkTrace: import("@reduxjs/toolkit/query").QueryDefinition<CheckTraceParams, BaseQueryFn, string, any, string>;
|
7
|
+
}, "api", "All" | "PDiskData" | "UserData" | "PreviewData" | "Tablet", typeof import("@reduxjs/toolkit/query").coreModuleName | typeof import("@reduxjs/toolkit/query/react").reactHooksModuleName>;
|
8
|
+
export {};
|
@@ -0,0 +1,21 @@
|
|
1
|
+
import { api } from './api';
|
2
|
+
function endpoints(build) {
|
3
|
+
return {
|
4
|
+
checkTrace: build.query({
|
5
|
+
queryFn: async ({ url }, { signal }) => {
|
6
|
+
try {
|
7
|
+
if (!url) {
|
8
|
+
throw new Error('no tracecheck url provided');
|
9
|
+
}
|
10
|
+
const response = await window.api.checkTrace({ url }, { signal });
|
11
|
+
return { data: response };
|
12
|
+
}
|
13
|
+
catch (error) {
|
14
|
+
return { error: error };
|
15
|
+
}
|
16
|
+
},
|
17
|
+
}),
|
18
|
+
};
|
19
|
+
}
|
20
|
+
export const traceApi = api.injectEndpoints({ endpoints });
|
21
|
+
//# sourceMappingURL=trace.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"trace.js","sourceRoot":"","sources":["../../../src/store/reducers/trace.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC;AAM1B,SAAS,SAAS,CAAC,KAAmD;IAClE,OAAO;QACH,UAAU,EAAE,KAAK,CAAC,KAAK,CAAC;YACpB,OAAO,EAAE,KAAK,EAAE,EAAC,GAAG,EAAmB,EAAE,EAAC,MAAM,EAAC,EAAE,EAAE;gBACjD,IAAI,CAAC;oBACD,IAAI,CAAC,GAAG,EAAE,CAAC;wBACP,MAAM,IAAI,KAAK,CAAC,4BAA4B,CAAC,CAAC;oBAClD,CAAC;oBACD,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,EAAC,GAAG,EAAC,EAAE,EAAC,MAAM,EAAC,CAAC,CAAC;oBAC9D,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAC,CAAC;gBAC5B,CAAC;gBAAC,OAAO,KAAK,EAAE,CAAC;oBACb,OAAO,EAAC,KAAK,EAAE,KAAK,EAAC,CAAC;gBAC1B,CAAC;YACL,CAAC;SACJ,CAAC;KACL,CAAC;AACN,CAAC;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,GAAG,CAAC,eAAe,CAAC,EAAC,SAAS,EAAC,CAAC,CAAC"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import type { EFlag } from './enums';
|
2
2
|
import type { TTabletStateInfo } from './tablet';
|
3
|
+
import type { TTraceCheck, TTraceView } from './trace';
|
3
4
|
/**
|
4
5
|
* endpoint: viewer/json/cluster
|
5
6
|
*
|
@@ -34,4 +35,6 @@ export interface TClusterInfo {
|
|
34
35
|
Domain?: string;
|
35
36
|
Balancer?: string;
|
36
37
|
Solomon?: string;
|
38
|
+
TraceView?: TTraceView;
|
39
|
+
TraceCheck?: TTraceCheck;
|
37
40
|
}
|
package/dist/types/api/meta.d.ts
CHANGED
@@ -114,6 +114,6 @@ export interface TPDiskInfo {
|
|
114
114
|
DecommitStatus?: EDecommitStatus;
|
115
115
|
}
|
116
116
|
type EDriveStatus = 'UNKNOWN' | 'ACTIVE' | 'INACTIVE' | 'BROKEN' | 'FAULTY' | 'TO_BE_REMOVED';
|
117
|
-
type EDecommitStatus = 'DECOMMIT_UNSET' | 'DECOMMIT_NONE' | 'DECOMMIT_PENDING' | 'DECOMMIT_IMMINENT' | 'DECOMMIT_REJECTED';
|
117
|
+
export type EDecommitStatus = 'DECOMMIT_UNSET' | 'DECOMMIT_NONE' | 'DECOMMIT_PENDING' | 'DECOMMIT_IMMINENT' | 'DECOMMIT_REJECTED';
|
118
118
|
type EPDiskType = 'ROT' | 'SSD' | 'NVME' | 'UNKNOWN_TYPE';
|
119
119
|
export {};
|