Skip to content

Bug: Windows “文件锁竞争”或“驱动握手”导致 30 秒以上的挂起(Hang);尤其是路径解析和锁定机制 #579

@tqangxl

Description

@tqangxl

Describe the bug

虽然官方列出了 surrealkv://,但在 Windows 环境下:
1.SurrealKV 的底层 TiKV 引擎在冷启动时经常会因为“文件锁竞争”或“驱动握手”导致 30 秒以上的挂起(Hang),这正是您之前遇到“启动失败”的原因。

2.但在 Windows 上的兼容性(尤其是路径解析和锁定机制)目前还不够鲁棒。

Steps to reproduce

Image Image

Expected behaviour

await db.connect("surrealkv://path"); // SurrealKV 模式 (支持版本化)

SurrealDB version

3.0.2 for windows on x86_6

JavaScript SDK version

3.0.2

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct (repository /surrealdb.js)

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions