> ## Documentation Index
> Fetch the complete documentation index at: /documents/llms.txt
> Use this file to discover all available pages before exploring further.

# CloudCanal 导入常见问题

> CloudCanal 导入常见问题。

## 导入时任务异常，报错 close index failed/too many tablet versions

### CloudCanal侧解决方法

* 打开任务详情
* 打开任务参数
* 调节fullBatchWaitTimeMs和increBatchWaitTimeMs参数，增加一批数据写入数据库之后的停顿时间，避免写入过于频繁导致的异常报错

![image.png](https://mintcdn.com/mirrorship-docs/PYpCw6ZrekIEuuQL/documents/images/b309275ad8e0aeda30fca50e.png?fit=max\&auto=format\&n=PYpCw6ZrekIEuuQL\&q=85\&s=1e9a337430da8c57c2c92a80b5181463)

![image.png](https://mintcdn.com/mirrorship-docs/8FakUMFrFjmoxRt5/documents/images/f1bf26b37692976d9b6b5708.png?fit=max\&auto=format\&n=8FakUMFrFjmoxRt5\&q=85\&s=837c95a2654aceffbfdd044ce82330f0)

### 数据库侧解决办法

调整compaction策略，加快合并(调整完需要观察内存和IO)，在be.conf中修改以下内容

```properties theme={null}
cumulative_compaction_num_threads_per_disk = 4
base_compaction_num_threads_per_disk = 2
cumulative_compaction_check_interval_seconds = 2
update_compaction_num_threads_per_disk = 2 （该参数属于主键表单独的compaction参数）
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.