Skip to content

v3: Thread safety and locking support #1125

@Tigls

Description

@Tigls

Hi,

In one of your posts, I read that v3 is already at feature parity with v2, so we decided to give it a try. We’re using it on a microcontroller with NOR flash, an RTOS, and SQLite.

After switching to v3, we started encountering frequent rbyd corruptions, and began investigating the root cause. It appears that while v3 accepts a lock configuration (similar to v2), it doesn’t actually use it internally — is that correct?

I also couldn’t find any mention of thread safety on the v3 roadmap. Is support for it planned at all?

For now, we’ll likely add our own locking around basic operations like open, write, etc., but it would be great to know your plans in this area.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions