Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Copy wal files using memcpy - #68

Merged
IvanPleshkov merged 4 commits into
masterfrom
copy-wal-files-using-memcpy
Jan 17, 2024
Merged

Copy wal files using memcpy#68
IvanPleshkov merged 4 commits into
masterfrom
copy-wal-files-using-memcpy

Conversation

@IvanPleshkov

@IvanPleshkov IvanPleshkov commented Jan 10, 2024

Copy link
Copy Markdown
Contributor

Fix of qdrant/qdrant#2620 on WAL side.

Avoid copy file as fs::copy when mmap is locked by segment. Copying is implemented as new file creation and memcpy over all data. More detailed description why we need such copy you can find here:
#64

@timvisee timvisee changed the title Copy wal fies using memcpy Copy wal files using memcpy Jan 10, 2024
Comment thread src/segment.rs Outdated
@IvanPleshkov
IvanPleshkov marked this pull request as draft January 11, 2024 10:33
@IvanPleshkov
IvanPleshkov requested a review from timvisee January 16, 2024 10:34
@IvanPleshkov
IvanPleshkov marked this pull request as ready for review January 16, 2024 10:37
Comment thread src/lib.rs
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants