Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add file system vector-IO operations interface. #312

Merged
merged 5 commits into from
Aug 9, 2023

Conversation

HHoflittlefish777
Copy link
Contributor

Add file system Vector-IO operations interface.

@wu-sheng wu-sheng requested a review from hanahmily August 6, 2023 05:23
@wu-sheng wu-sheng added this to the 0.5.0 milestone Aug 6, 2023
@codecov-commenter
Copy link

codecov-commenter commented Aug 6, 2023

Codecov Report

Merging #312 (b09915d) into main (4655b73) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #312   +/-   ##
=======================================
  Coverage   39.74%   39.74%           
=======================================
  Files         105      105           
  Lines       11230    11230           
=======================================
  Hits         4463     4463           
  Misses       6320     6320           
  Partials      447      447           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

pkg/fs/file_system.go Show resolved Hide resolved
docs/concept/persistence-storage.md Show resolved Hide resolved
hanahmily
hanahmily previously approved these changes Aug 8, 2023
@@ -112,7 +112,7 @@ return: File pointer, you can use it for various operations.

### Write
BanyanDB provides two methods for writing files.
Append mode, which adds new data to the end of a file. This mode is typically used for WAL.
Append mode, which adds new data to the end of a file. This mode is typically used for WAL. And BanyanDB supports vector Append mode, which supports appending consecutive buffers to the end of the file.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the A of Append uppercase on purpose? This seems strange.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Capitalize just because it's the first letter. So, what should the specification be?

@wu-sheng
Copy link
Member

wu-sheng commented Aug 8, 2023

I can't see where we link to docs/concept/persistence-storage.md doc, how a user could read this?

@hanahmily
Copy link
Contributor

I can't see where we link to docs/concept/persistence-storage.md doc, how a user could read this?

We have not implemented it. As WAL, once the implementation gets merged, we would publish this doc.

@hanahmily hanahmily merged commit 147972a into apache:main Aug 9, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants