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

Support “clear data” in the space #3679

Closed
Sophie-Xie opened this issue Jan 10, 2022 · 0 comments · Fixed by #3989
Closed

Support “clear data” in the space #3679

Sophie-Xie opened this issue Jan 10, 2022 · 0 comments · Fixed by #3989
Assignees
Labels
type/enhancement Type: make the code neat or more efficient
Projects
Milestone

Comments

@Sophie-Xie
Copy link
Contributor

Describe the background of the requirement

  • Why do we need to support this requirement?
    Every database support this.

Describe the detail of the requirement

  • Provide a clear and concise description of the requirement.
    We can run "clear data" in the space.
    And then the data in the space will be deleted, but we can keep the schema and indexes in it.

Describe the scenarios of the requirement

  • If you can, explain some scenarios how users might use this, situations it would be helpful in.
    When we do some test in a space, we will need this.

Describe the priority

  • Urgency: med
  • Importance: med
@Sophie-Xie Sophie-Xie added the type/enhancement Type: make the code neat or more efficient label Jan 10, 2022
@Sophie-Xie Sophie-Xie added this to the v3.1.0 milestone Jan 10, 2022
@randomJoe211 randomJoe211 added this to To do in Nebula Docs Feb 28, 2022
@zhaohaifei zhaohaifei mentioned this issue Mar 8, 2022
11 tasks
yixinglu pushed a commit to yixinglu/nebula that referenced this issue Mar 21, 2022
<!--
Thanks for your contribution!
In order to review PR more efficiently, please add information according to the template.
-->

## What type of PR is this?
- [ ] bug
- [x] feature
- [ ] enhancement

## What problem(s) does this PR solve?
#### Issue(s) number: 
fix vesoft-inc#3679

#### Description:

## How do you solve it?
https://confluence.nebula-graph.io/pages/viewpage.action?pageId=40535032


## Special notes for your reviewer, ex. impact of this fix, design document, etc:


## Checklist:
Tests:
- [x] Unit test(positive and negative cases)
- [x] Function test
- [ ] Performance test
- [ ] N/A

Affects:
- [x] Documentation affected (Please add the label if documentation needs to be modified.)
- [ ] Incompatibility (If it breaks the compatibility, please describe it and add the label.)
- [x] If it's needed to cherry-pick (If cherry-pick to some branches is required, please label the destination version(s).)
- [ ] Performance impacted: Consumes more CPU/Memory


## Release notes:

Please confirm whether to be reflected in release notes and how to describe:
> Added a  clear space feature, which will clear space data and index data, but keep space schema and index schema.


Migrated from vesoft-inc#3989

Co-authored-by: haifei.zhao <32253291+zhaohaifei@users.noreply.github.com>
@randomJoe211 randomJoe211 moved this from To do to Done in Nebula Docs Mar 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement Type: make the code neat or more efficient
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants