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

CASSANDRA-19800: Enhance CQLSSTableWriter to notify client on sstable production #3676

Open
wants to merge 1 commit into
base: cassandra-4.1
Choose a base branch
from

Conversation

yifan-c
Copy link
Contributor

@yifan-c yifan-c commented Nov 13, 2024

No description provided.

Copy link
Contributor

@frankgh frankgh left a comment

Choose a reason for hiding this comment

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

+1 I left a couple of comments.

import java.util.List;
import java.util.Map;
import java.util.NavigableSet;
import java.util.*;
Copy link
Contributor

Choose a reason for hiding this comment

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

unintended?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch. Interestingly, optimize-import introduces the wildcard import.

@Test
public void testCloseSortedWriterOnFirstPorducedShouldStillResultInTwoSSTables() throws Exception
{
// Writing a new partition (and exceeding the size limit) lead to closing the current writer and buffering the last partition update.
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
// Writing a new partition (and exceeding the size limit) lead to closing the current writer and buffering the last partition update.
// Writing a new partition (and exceeding the size limit) leads to closing the current writer and buffering the last partition update.

Patch by Yifan Cai; Reviewed by Francisco Guerrero for CASSANDRA-19800
@yifan-c yifan-c force-pushed the CASSANDRA-19800/cassandra-4.1 branch from 858973d to 1a4c3cb Compare November 20, 2024 22:42
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