You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by zyx <th...@qq.com> on 2020/07/09 15:34:14 UTC

Change the base_dir to system_dir

Hi,&nbsp;
&nbsp; &nbsp;&nbsp;
I submit this pr [1] to fix issue [2].


The naming of base_dir is likely to mislead users that it is the parent folder of data_dirs and wal_dirs. However, they are independent.
The base_dir is just responsible for the system data folder (schema, version files...), so I changed the configuration of base_dir to system_dir in iotdb-engine.properties.&nbsp;


origin: base_dir=data
new: system_dir=data/system


After this, there are three independent directories in IoTDB: system_dir, data_dirs and wal_dir.




[1]https://github.com/apache/incubator-iotdb/pull/1467
[2]https://issues.apache.org/jira/browse/IOTDB-790


Thanks,
Yuxin Zhang

Re: Change the base_dir to system_dir

Posted by Xiangdong Huang <sa...@gmail.com>.
Hi Yuxin,

+1. Nice to see your contribution again.

Best,
-----------------------------------
Xiangdong Huang
School of Software, Tsinghua University

 黄向东
清华大学 软件学院


zyx <th...@qq.com> 于2020年7月9日周四 下午11:38写道:

> Hi,&nbsp;
> &nbsp; &nbsp;&nbsp;
> I submit this pr [1] to fix issue [2].
>
>
> The naming of base_dir is likely to mislead users that it is the parent
> folder of data_dirs and wal_dirs. However, they are independent.
> The base_dir is just responsible for the system data folder (schema,
> version files...), so I changed the configuration of base_dir to system_dir
> in iotdb-engine.properties.&nbsp;
>
>
> origin: base_dir=data
> new: system_dir=data/system
>
>
> After this, there are three independent directories in IoTDB: system_dir,
> data_dirs and wal_dir.
>
>
>
>
> [1]https://github.com/apache/incubator-iotdb/pull/1467
> [2]https://issues.apache.org/jira/browse/IOTDB-790
>
>
> Thanks,
> Yuxin Zhang