4paradigm / 4paradigm/OpenMLDB

`clear-all.sh` should delete openmldb path if `OPENMLDB_USE_EXISTING_ZK_CLUSTER` is true

Open
#3,082 0 comments 0 reactions 1 assignee Claimed by @zhanghaohit View on GitHub
enhancement tools
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

**Describe the feature you'd like**

`clear-all.sh` should delete zk path using `zk_client` if `OPENMLDB_USE_EXISTING_ZK_CLUSTER` is true. Now we only delete the zk data path if zk is deployed by us.

**Additional context**

Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

Research direction

Look at the clear-all.sh script to understand its current logic for deleting ZooKeeper data. Examine how OPENMLDB_USE_EXISTING_ZK_CLUSTER is used and where zk_client is invoked. The change involves adding a conditional branch to delete the zk path when using an existing ZooKeeper cluster. Check related scripts or documentation for the correct zk_client usage and path format.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
devops, tooling
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.