Skip to content

Regular and compressed chunks - #261

Merged
ashtul merged 40 commits into
masterfrom
Reg+Compressed_Chunks
Dec 22, 2019
Merged

ashtul merged 40 commits into
masterfrom
Reg+Compressed_Chunks

Conversation

@ashtul

@ashtul ashtul commented Dec 4, 2019

Copy link
Copy Markdown
Contributor

Currently, it is set for a compressed chunk.
The regular chunk fails in some of the tests mostly for wrong size etc'

@ashtul
ashtul requested a review from danni-m as a code owner December 4, 2019 15:00
@ashtul

ashtul commented Dec 4, 2019

Copy link
Copy Markdown
Contributor Author

@danni-m @gkorland @rafie @filipecosta90

There is a lot of clean up to do but things are working for the most part.
Not sure yet how to handle tests for both chunk.
Right now, the chunk type can be changed in tsdb.c lines 42/43.

Looking for your input

@danni-m

danni-m commented Dec 4, 2019

Copy link
Copy Markdown
Contributor

@ashtul since there's some cleanup needs to be done, do you want us to focus on specific areas for feedback?

@ashtul

ashtul commented Dec 5, 2019

Copy link
Copy Markdown
Contributor Author

@danni-m
Probably most effort is needed for new files.

  • gorilla.c/h
  • generic_chunk.c/h

@ashtul

ashtul commented Dec 9, 2019

Copy link
Copy Markdown
Contributor Author

@gkorland @danni-m @rafie
The branch is ready for a final review
We should probably change CChunk_ prefix to something else. Any suggestions?
Any other comments?

@codecov

codecov Bot commented Dec 11, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #261 into master will increase coverage by 1.15%.
The diff coverage is 95.36%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #261      +/-   ##
==========================================
+ Coverage   88.62%   89.77%   +1.15%     
==========================================
  Files           8       11       +3     
  Lines        1424     1663     +239     
==========================================
+ Hits         1262     1493     +231     
- Misses        162      170       +8
Impacted Files Coverage Δ
src/compressed_chunk.c 100% <100%> (ø)
src/config.c 100% <100%> (ø) ⬆️
src/module.c 86.01% <84.21%> (-0.03%) ⬇️
src/generic_chunk.c 85.71% <85.71%> (ø)
src/rdb.c 94.52% <87.5%> (-1.07%) ⬇️
src/tsdb.c 86.93% <90%> (+0.98%) ⬆️
src/chunk.c 98% <96.87%> (-2%) ⬇️
src/gorilla.c 97.02% <97.02%> (ø)
... and 1 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update fc67ccf...8f1373e. Read the comment docs.

Comment thread .circleci/config.yml Resolved
Comment thread docs/commands.md Resolved
Comment thread docs/commands.md Resolved
Comment thread src/chunk.c Resolved
Comment thread src/chunk.c Resolved
Comment thread src/tsdb.c Resolved
Comment thread src/tsdb.c Resolved
Comment thread src/rdb.c Resolved
Comment thread src/rdb.c Resolved
Comment thread src/rdb.c Resolved
Ariel Shtul and others added 2 commits December 17, 2019 14:51
@ashtul
ashtul requested a review from danni-m December 17, 2019 14:19
@ashtul
ashtul force-pushed the Reg+Compressed_Chunks branch from 9ccc06f to f3035c3 Compare December 17, 2019 15:32
@ashtul

ashtul commented Dec 18, 2019

Copy link
Copy Markdown
Contributor Author

@danni-m @K-Jo
All comments were fixes or received an explanation

Comment thread src/gorilla.c Resolved
Comment thread src/tsdb.c Resolved

@danni-m danni-m left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@ashtul the algorithem and gorilla.c/h looks really really good.
I think there some edge cases we need to handle and a possible memory leak.

Comment thread src/rdb.c Resolved
Comment thread src/tsdb.c Resolved
Comment thread tests/test_module.py Resolved
Comment thread tests_report.xml Resolved
Comment thread src/gorilla.c Resolved
Comment thread src/gorilla.c Resolved
Comment thread src/gorilla.c Resolved
Comment thread src/gorilla.c Resolved
Comment thread src/gorilla.c Resolved
Comment thread src/gorilla.c Resolved
@ashtul
ashtul requested review from K-Jo, danni-m and gkorland December 19, 2019 13:32
@gkorland
gkorland removed request for K-Jo and gkorland December 20, 2019 05:57
@ashtul
ashtul merged commit d480bb1 into master Dec 22, 2019
@ashtul
ashtul deleted the Reg+Compressed_Chunks branch February 5, 2020 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants