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

Support for recovery measure/buffer using wal #313

Merged
merged 9 commits into from
Aug 9, 2023

Conversation

hailin0
Copy link
Contributor

@hailin0 hailin0 commented Aug 7, 2023

Support wal recovery

@hailin0 hailin0 added the enhancement New feature or request label Aug 7, 2023
* Update wal seriesID datatype to bytes
* Integrate wal into measure/buffer for memory recovery
@hailin0 hailin0 changed the title Support for recovery buffers using wal Support for recovery measure/buffer using wal Aug 7, 2023
@hailin0
Copy link
Contributor Author

hailin0 commented Aug 7, 2023

ci errors will be fixed later

go.mod Outdated Show resolved Hide resolved
banyand/measure/tstable.go Outdated Show resolved Hide resolved
banyand/measure/tstable.go Outdated Show resolved Hide resolved
banyand/tsdb/buffer.go Outdated Show resolved Hide resolved
banyand/tsdb/buffer_test.go Outdated Show resolved Hide resolved
banyand/tsdb/buffer_test.go Outdated Show resolved Hide resolved
@hailin0 hailin0 added this to the 0.5.0 milestone Aug 8, 2023
@codecov-commenter
Copy link

codecov-commenter commented Aug 8, 2023

Codecov Report

Merging #313 (a14fcca) into main (20ce7d6) will increase coverage by 0.14%.
Report is 1 commits behind head on main.
The diff coverage is 37.30%.

@@            Coverage Diff             @@
##             main     #313      +/-   ##
==========================================
+ Coverage   39.62%   39.77%   +0.14%     
==========================================
  Files         104      104              
  Lines       11101    11221     +120     
==========================================
+ Hits         4399     4463      +64     
- Misses       6268     6311      +43     
- Partials      434      447      +13     
Files Changed Coverage Δ
banyand/measure/tstable.go 0.00% <0.00%> (ø)
banyand/stream/tstable.go 0.00% <0.00%> (ø)
pkg/wal/wal.go 0.00% <0.00%> (ø)
banyand/tsdb/buffer.go 68.57% <51.06%> (-14.01%) ⬇️

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

pkg/wal/wal.go Show resolved Hide resolved
@hanahmily hanahmily merged commit 4655b73 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
enhancement New feature or request
Projects
None yet
4 participants