From f5fe7f1299465432ce4aa62956f853b0cbf1a748 Mon Sep 17 00:00:00 2001 From: ylq121 Date: Mon, 3 Apr 2023 11:25:35 +0800 Subject: [PATCH] xiugai Signed-off-by: ylq121 --- .../apis/js-apis-distributedKVStore.md | 96 ++++++++++++++++--- .../errorcode-distributedKVStore.md | 20 +--- 2 files changed, 85 insertions(+), 31 deletions(-) diff --git a/zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md b/zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md index 58c2d351b0..3de6c18321 100644 --- a/zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md +++ b/zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md @@ -2112,6 +2112,11 @@ put(key: string, value: Uint8Array | string | number | boolean, callback: AsyncC | ------------ | ---------------------------------------- | | 15100003 | Database corrupted. | | 15100005 | Database or result set already closed. | + +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | | 14800047 | WAL file size exceeds the default limit. | **示例:** @@ -2160,10 +2165,15 @@ put(key: string, value: Uint8Array | string | number | boolean): Promise<void | **错误码ID** | **错误信息** | | ------------ | ---------------------------------------- | -| 14800047 | WAL file size exceeds the default limit. | | 15100003 | Database corrupted. | | 15100005 | Database or result set already closed. | +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | +| 14800047 | WAL file size exceeds the default limit. | + **示例:** ```js @@ -2202,10 +2212,15 @@ putBatch(entries: Entry[], callback: AsyncCallback<void>): void | **错误码ID** | **错误信息** | | ------------ | ---------------------------------------- | -| 14800047 | WAL file size exceeds the default limit. | | 15100003 | Database corrupted. | | 15100005 | Database or result set already closed. | +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | +| 14800047 | WAL file size exceeds the default limit. | + **示例:** ```js @@ -2270,10 +2285,15 @@ putBatch(entries: Entry[]): Promise<void> | **错误码ID** | **错误信息** | | ------------ | ---------------------------------------- | -| 14800047 | WAL file size exceeds the default limit. | | 15100003 | Database corrupted. | | 15100005 | Database or result set already closed. | +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | +| 14800047 | WAL file size exceeds the default limit. | + **示例:** ```js @@ -2331,10 +2351,15 @@ putBatch(value: Array<ValuesBucket>, callback: AsyncCallback<void>): | **错误码ID** | **错误信息** | | ------------ | ---------------------------------------- | -| 14800047 | WAL file size exceeds the default limit. | | 15100003 | Database corrupted. | | 15100005 | Database or result set already closed. | +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | +| 14800047 | WAL file size exceeds the default limit. | + **示例:** ```js @@ -2389,10 +2414,15 @@ putBatch(value: Array<ValuesBucket>): Promise<void> | **错误码ID** | **错误信息** | | ------------ | ---------------------------------------- | -| 14800047 | WAL file size exceeds the default limit. | | 15100003 | Database corrupted. | | 15100005 | Database or result set already closed. | +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | +| 14800047 | WAL file size exceeds the default limit. | + **示例:** ```js @@ -2438,10 +2468,15 @@ delete(key: string, callback: AsyncCallback<void>): void | **错误码ID** | **错误信息** | | ------------ | -------------------------------------- | -| 14800047 | WAL file size exceeds the default limit. | | 15100003 | Database corrupted. | | 15100005 | Database or result set already closed. | +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | +| 14800047 | WAL file size exceeds the default limit. | + **示例:** ```js @@ -2494,10 +2529,15 @@ delete(key: string): Promise<void> | **错误码ID** | **错误信息** | | ------------ | ---------------------------------------- | -| 14800047 | WAL file size exceeds the default limit. | | 15100003 | Database corrupted. | | 15100005 | Database or result set already closed. | +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | +| 14800047 | WAL file size exceeds the default limit. | + **示例:** ```js @@ -2543,10 +2583,15 @@ delete(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallb | **错误码ID** | **错误信息** | | ------------ | -------------------------------------- | -| 14800047 | WAL file size exceeds the default limit. | | 15100003 | Database corrupted. | | 15100005 | Database or result set already closed. | +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | +| 14800047 | WAL file size exceeds the default limit. | + **示例:** ```js @@ -2594,10 +2639,15 @@ delete(predicates: dataSharePredicates.DataSharePredicates): Promise<void> | **错误码ID** | **错误信息** | | ------------ | ---------------------------------------- | -| 14800047 | WAL file size exceeds the default limit. | | 15100003 | Database corrupted. | | 15100005 | Database or result set already closed. | +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | +| 14800047 | WAL file size exceeds the default limit. | + **示例:** ```js @@ -2644,10 +2694,15 @@ deleteBatch(keys: string[], callback: AsyncCallback<void>): void | **错误码ID** | **错误信息** | | ------------ | ---------------------------------------- | -| 14800047 | WAL file size exceeds the default limit. | | 15100003 | Database corrupted. | | 15100005 | Database or result set already closed. | +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | +| 14800047 | WAL file size exceeds the default limit. | + **示例:** ```js @@ -2713,10 +2768,15 @@ deleteBatch(keys: string[]): Promise<void> | **错误码ID** | **错误信息** | | ------------ | ---------------------------------------- | -| 14800047 | WAL file size exceeds the default limit. | | 15100003 | Database corrupted. | | 15100005 | Database or result set already closed. | +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | +| 14800047 | WAL file size exceeds the default limit. | + **示例:** ```js @@ -4048,9 +4108,14 @@ startTransaction(callback: AsyncCallback<void>): void | **错误码ID** | **错误信息** | | ------------ | ---------------------------------------- | -| 14800047 | WAL file size exceeds the default limit. | | 15100005 | Database or result set already closed. | +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | +| 14800047 | WAL file size exceeds the default limit. | + **示例:** ```js @@ -4117,9 +4182,14 @@ startTransaction(): Promise<void> | **错误码ID** | **错误信息** | | ------------ | ---------------------------------------- | -| 14800047 | WAL file size exceeds the default limit. | | 15100005 | Database or result set already closed. | +以下错误码的详细介绍请参见[关系型数据库错误码](../errorcodes/errorcode-data-rdb.md)。 + +| **错误码ID** | **错误信息** | +| ------------ | ---------------------------------------- | +| 14800047 | WAL file size exceeds the default limit. | + **示例:** ```js diff --git a/zh-cn/application-dev/reference/errorcodes/errorcode-distributedKVStore.md b/zh-cn/application-dev/reference/errorcodes/errorcode-distributedKVStore.md index a743ee9fad..59f2bd3c2d 100644 --- a/zh-cn/application-dev/reference/errorcodes/errorcode-distributedKVStore.md +++ b/zh-cn/application-dev/reference/errorcodes/errorcode-distributedKVStore.md @@ -21,7 +21,8 @@ Over max limits. **处理步骤** -如果当前操作为数据库订阅操作,取消对数据库的部分订阅后,再次尝试订阅,否则,关闭部分打开的结果集后重试。 +1. 如果在调用订阅数据库变化接口时,对数据库的订阅数量已超过最大限制,取消对数据库的部分订阅后,再次尝试订阅。 +2. 如果数据库当前打开的结果集数目超过最大限制,关闭部分打开的结果集后重试。 ## 15100002 打开已有数据库时参数配置发生变化 @@ -104,20 +105,3 @@ Database or result set already closed. 1. 在数据库相关操作前,请重新打开数据库之后再重试当前操作。 2. 在查询结果集相关操作前,请重新查询获取结果集之后再重试当前操作。 -## 14800047 WAL文件大小超过默认值 -**错误信息** - -WAL file size exceeds the default limit. - -**错误描述** - -WAL文件大小超过默认上限。 - -**可能原因** - -WAL文件大小超过默认上限。 - -**处理步骤** - -1. 检查结果集或者事务是否未关闭。 -2. 关闭所有结果集或者事务。 -- GitLab