Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create_if_not_exists 参数感觉可以删除掉,目前代码中并没有相关的判断,目录总是创建的。 #176

Open
gcxfd opened this issue Jul 5, 2022 · 3 comments

Comments

@gcxfd
Copy link
Contributor

gcxfd commented Jul 5, 2022

image

@GanZiheng
Copy link
Contributor

是的,和 read_only 是重复的,可以考虑删掉 create_if_not_exists

gcxfd added a commit to rmw-lib/agatedb that referenced this issue Jul 6, 2022
gcxfd added a commit to rmw-lib/agatedb that referenced this issue Jul 6, 2022
Signed-off-by: gcxfd <i@rmw.link>
gcxfd added a commit to rmw-lib/agatedb that referenced this issue Jul 6, 2022
Signed-off-by: gcxfd <i@rmw.link>
gcxfd added a commit to rmw-lib/agatedb that referenced this issue Jul 6, 2022
Signed-off-by: gcxfd <i@rmw.link>
gcxfd added a commit to rmw-lib/agatedb that referenced this issue Jul 6, 2022
cargo upgrade
fix gen_range
cargo fmt
cargo clippy
fix agate_bench/src/main.rs
remove create_if_not_exists tikv#176

Signed-off-by: gcxfd <i@rmw.link>
gcxfd added a commit to rmw-lib/agatedb that referenced this issue Jul 6, 2022
cargo upgrade
fix gen_range
cargo fmt
cargo clippy
fix agate_bench/src/main.rs
remove create_if_not_exists tikv#176

Signed-off-by: gcxfd <i@rmw.link>
@zhangjinpeng87
Copy link
Member

Please use english since this is a global community. Thanks.

@BusyJay
Copy link
Member

BusyJay commented Jul 11, 2022

create_if_not_exists doesn't need to be read only. Users can always use write mode and do assertion on existence.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants