4paradigm / 4paradigm/OpenMLDB

For stand-alone version, the data in the db directory is not cleared after restart

Open
#2,659 0 comments 0 reactions 1 assignee Claimed by @dl239 View on GitHub
bug storage-engine
Dominant language
C++
Stars
1.7k
Forks
331
Avg merge
12d 12h
Merged PRs (30d)
1

Description

**Bug Description**
For stand-alone version, the data in the db directory is not cleared after restart.

![0b79bb76ca19064035e75d739ba51d88](https://user-images.githubusercontent.com/18275570/195802090-f2396679-f940-429e-9c6d-3e8a22f0dabc.png)
After the stand-alone version is restarted, the data is cleared, and the data in the same db directory should also be cleared

**Expected Behavior**

**Steps to Reproduce**

1.
2.
3.
4.

Contributor guide

Open the contributing guide

Research direction

The issue mentions a 'db directory' not being cleared on restart of the stand-alone version. Look for code handling data persistence and cleanup in the stand-alone mode, likely in storage or initialization modules. Check how the database directory is managed on startup and shutdown. Determine what 'cleared' means—whether it's deleting files or resetting in-memory state—and verify the expected behavior against the current implementation.

Written by the indexing model from the issue text.

Assessment

Tech stack
databases, machine-learning, sql
Domain
backend, databases, machine-learning
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.