Add regression test or check for embedded mode
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 2.9k
- Forks
- 339
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 52
Description
Description
During the 1.2.0 release, compiling in embedded mode and running the seekdb_test program failed. The cause is that the metadata record directory meta.db hardcodes the path "./store". In embedded mode, the working directory of the seekdb kernel changes from seekdb.db to the current Python directory, causing meta.db to be inaccessible at runtime.
Steps to Reproduce
Refer to the documentation for reproduction steps: https://yuque.antfin.com/g/wangyunlai....
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked reproduction documentation, then inspect embedded-mode handling and the seekdb_test program. Reproduce the failure and trace how the meta.db path is resolved when the working directory changes from seekdb.db to the current Python directory. Done means a regression test or check reliably catches the inaccessible metadata record directory.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- database
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100