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

Use CSUP files in vector runtime #5508

Merged
merged 1 commit into from
Dec 3, 2024
Merged

Use CSUP files in vector runtime #5508

merged 1 commit into from
Dec 3, 2024

Conversation

mattnibs
Copy link
Collaborator

The commit adds the ability to use CSUP files in vector runtime. It also implements the NewConcurrentPuller protocol to enable parallel read of a CSUP file in vector runtime.

@mattnibs mattnibs requested review from a team and removed request for a team November 26, 2024 20:16
@mattnibs mattnibs force-pushed the csup-multiple-objects branch from 85b4740 to b1f99bd Compare November 26, 2024 20:28
@mattnibs mattnibs requested review from nwt and a team November 26, 2024 20:29
@mattnibs mattnibs force-pushed the csup-multiple-objects branch from b1f99bd to 178acba Compare November 26, 2024 21:00
@mattnibs mattnibs force-pushed the csup-multiple-objects branch from 178acba to 46a0f43 Compare November 27, 2024 17:48
@mattnibs mattnibs force-pushed the parallel-csup branch 5 times, most recently from 31b0741 to 0c190e5 Compare November 27, 2024 18:05
Base automatically changed from csup-multiple-objects to main December 3, 2024 17:04
The commit adds the ability to use CSUP files in vector runtime. It also
implements the NewConcurrentPuller protocol to enable parallel read of a
CSUP file in vector runtime.
func (v *VectorReader) close() error {
if v.activeReaders.Add(-1) <= 0 {
if closer, ok := v.readerAt.(io.Closer); ok {
return closer.Close() // coffee is for closers
Copy link
Member

Choose a reason for hiding this comment

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

Ha!

@mattnibs mattnibs merged commit 1f0c0ce into main Dec 3, 2024
3 checks passed
@mattnibs mattnibs deleted the parallel-csup branch December 3, 2024 22:32
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.

2 participants