Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
f5fe7f12
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
f5fe7f12
编写于
4月 03, 2023
作者:
Y
ylq121
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
xiugai
Signed-off-by:
N
ylq121
<
yangqing89@huawei.com
>
上级
3cb22545
变更
2
显示空白变更内容
内联
并排
Showing
2 changed file
with
85 addition
and
31 deletion
+85
-31
zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md
...lication-dev/reference/apis/js-apis-distributedKVStore.md
+83
-13
zh-cn/application-dev/reference/errorcodes/errorcode-distributedKVStore.md
...-dev/reference/errorcodes/errorcode-distributedKVStore.md
+2
-18
未找到文件。
zh-cn/application-dev/reference/apis/js-apis-distributedKVStore.md
浏览文件 @
f5fe7f12
...
@@ -2112,6 +2112,11 @@ put(key: string, value: Uint8Array | string | number | boolean, callback: AsyncC
...
@@ -2112,6 +2112,11 @@ put(key: string, value: Uint8Array | string | number | boolean, callback: AsyncC
| ------------ | ---------------------------------------- |
| ------------ | ---------------------------------------- |
| 15100003 | Database corrupted. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
...
@@ -2160,10 +2165,15 @@ put(key: string, value: Uint8Array | string | number | boolean): Promise<void
...
@@ -2160,10 +2165,15 @@ put(key: string, value: Uint8Array | string | number | boolean): Promise<void
|
**错误码ID**
|
**错误信息**
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100003 | Database corrupted. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
```
js
```
js
...
@@ -2202,10 +2212,15 @@ putBatch(entries: Entry[], callback: AsyncCallback<void>): void
...
@@ -2202,10 +2212,15 @@ putBatch(entries: Entry[], callback: AsyncCallback<void>): void
|
**错误码ID**
|
**错误信息**
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100003 | Database corrupted. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
```
js
```
js
...
@@ -2270,10 +2285,15 @@ putBatch(entries: Entry[]): Promise<void>
...
@@ -2270,10 +2285,15 @@ putBatch(entries: Entry[]): Promise<void>
|
**错误码ID**
|
**错误信息**
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100003 | Database corrupted. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
```
js
```
js
...
@@ -2331,10 +2351,15 @@ putBatch(value: Array<ValuesBucket>, callback: AsyncCallback<void>):
...
@@ -2331,10 +2351,15 @@ putBatch(value: Array<ValuesBucket>, callback: AsyncCallback<void>):
|
**错误码ID**
|
**错误信息**
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100003 | Database corrupted. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
```
js
```
js
...
@@ -2389,10 +2414,15 @@ putBatch(value: Array<ValuesBucket>): Promise<void>
...
@@ -2389,10 +2414,15 @@ putBatch(value: Array<ValuesBucket>): Promise<void>
|
**错误码ID**
|
**错误信息**
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100003 | Database corrupted. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
```
js
```
js
...
@@ -2438,10 +2468,15 @@ delete(key: string, callback: AsyncCallback<void>): void
...
@@ -2438,10 +2468,15 @@ delete(key: string, callback: AsyncCallback<void>): void
|
**错误码ID**
|
**错误信息**
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| ------------ | -------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100003 | Database corrupted. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
```
js
```
js
...
@@ -2494,10 +2529,15 @@ delete(key: string): Promise<void>
...
@@ -2494,10 +2529,15 @@ delete(key: string): Promise<void>
|
**错误码ID**
|
**错误信息**
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100003 | Database corrupted. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
```
js
```
js
...
@@ -2543,10 +2583,15 @@ delete(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallb
...
@@ -2543,10 +2583,15 @@ delete(predicates: dataSharePredicates.DataSharePredicates, callback: AsyncCallb
|
**错误码ID**
|
**错误信息**
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | -------------------------------------- |
| ------------ | -------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100003 | Database corrupted. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
```
js
```
js
...
@@ -2594,10 +2639,15 @@ delete(predicates: dataSharePredicates.DataSharePredicates): Promise<void>
...
@@ -2594,10 +2639,15 @@ delete(predicates: dataSharePredicates.DataSharePredicates): Promise<void>
|
**错误码ID**
|
**错误信息**
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100003 | Database corrupted. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
```
js
```
js
...
@@ -2644,10 +2694,15 @@ deleteBatch(keys: string[], callback: AsyncCallback<void>): void
...
@@ -2644,10 +2694,15 @@ deleteBatch(keys: string[], callback: AsyncCallback<void>): void
|
**错误码ID**
|
**错误信息**
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100003 | Database corrupted. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
```
js
```
js
...
@@ -2713,10 +2768,15 @@ deleteBatch(keys: string[]): Promise<void>
...
@@ -2713,10 +2768,15 @@ deleteBatch(keys: string[]): Promise<void>
|
**错误码ID**
|
**错误信息**
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100003 | Database corrupted. |
| 15100003 | Database corrupted. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
```
js
```
js
...
@@ -4048,9 +4108,14 @@ startTransaction(callback: AsyncCallback<void>): void
...
@@ -4048,9 +4108,14 @@ startTransaction(callback: AsyncCallback<void>): void
|
**错误码ID**
|
**错误信息**
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
```
js
```
js
...
@@ -4117,9 +4182,14 @@ startTransaction(): Promise<void>
...
@@ -4117,9 +4182,14 @@ startTransaction(): Promise<void>
|
**错误码ID**
|
**错误信息**
|
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
| 15100005 | Database or result set already closed. |
| 15100005 | Database or result set already closed. |
以下错误码的详细介绍请参见
[
关系型数据库错误码
](
../errorcodes/errorcode-data-rdb.md
)
。
|
**错误码ID**
|
**错误信息**
|
| ------------ | ---------------------------------------- |
| 14800047 | WAL file size exceeds the default limit. |
**示例:**
**示例:**
```
js
```
js
...
...
zh-cn/application-dev/reference/errorcodes/errorcode-distributedKVStore.md
浏览文件 @
f5fe7f12
...
@@ -21,7 +21,8 @@ Over max limits.
...
@@ -21,7 +21,8 @@ Over max limits.
**处理步骤**
**处理步骤**
如果当前操作为数据库订阅操作,取消对数据库的部分订阅后,再次尝试订阅,否则,关闭部分打开的结果集后重试。
1.
如果在调用订阅数据库变化接口时,对数据库的订阅数量已超过最大限制,取消对数据库的部分订阅后,再次尝试订阅。
2.
如果数据库当前打开的结果集数目超过最大限制,关闭部分打开的结果集后重试。
## 15100002 打开已有数据库时参数配置发生变化
## 15100002 打开已有数据库时参数配置发生变化
...
@@ -104,20 +105,3 @@ Database or result set already closed.
...
@@ -104,20 +105,3 @@ Database or result set already closed.
1.
在数据库相关操作前,请重新打开数据库之后再重试当前操作。
1.
在数据库相关操作前,请重新打开数据库之后再重试当前操作。
2.
在查询结果集相关操作前,请重新查询获取结果集之后再重试当前操作。
2.
在查询结果集相关操作前,请重新查询获取结果集之后再重试当前操作。
## 14800047 WAL文件大小超过默认值
**错误信息**
WAL file size exceeds the default limit.
**错误描述**
WAL文件大小超过默认上限。
**可能原因**
WAL文件大小超过默认上限。
**处理步骤**
1.
检查结果集或者事务是否未关闭。
2.
关闭所有结果集或者事务。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录