zdharma-continuum / zinit

🌻 Flexible and fast ZSH plugin manager
MIT License
2.74k stars 122 forks source link

[bug]: Often get database is locked #599

Closed mowgli closed 7 months ago

mowgli commented 7 months ago

What happened?

I often get the following error:

Error: stepping, database is locked (5)

In case of a larger pipe I get that message multiple times. On other occasions I get the following error right after it:

History database /home/klaus/.histdb/zsh-history.db is using an older schema () and will be updated to version 2.

The error always appears direct after the first command or pipe I do in the shell. I did not seen it later on.

Steps to reproduce

See above

Relevant output

See above

Screenshots and recordings

See above

Operating System & Version

OS: linux-gnu | Vendor: debian | Machine: x86_64 | CPU: x86_64 | Processor: unknown | Hardware: x86_64

Zsh version

Doesn't apply as it was with many in the past. Currently 5.9

Terminal emulator

xterm

If using WSL on Windows, which version of WSL

None

Additional context

No response

Code of Conduct

pschmitt commented 7 months ago

Don't believe this a zinit issue per se.

Show us your ices.

vladdoster commented 7 months ago

@mowgli,

@pschmitt is correct that this is unrelated to Zinit.

Please see these zsh-histdb issues or open an issue there if your problem persists.

vladdoster commented 5 months ago

@mowgli,

Locking due to lack of activity.