Skip to content

Commit 673ec66

Browse files
committed
Merge branch 'cassandra-4.1' into cassandra-5.0
2 parents 74e0794 + 8363417 commit 673ec66

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/java/org/apache/cassandra/db/compaction/CompactionTask.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -497,9 +497,8 @@ private void maybeNotifyIndexersAboutRowsInFullyExpiredSSTables(Set<SSTableReade
497497
{
498498
while (scanner.hasNext())
499499
{
500-
UnfilteredRowIterator partition = scanner.next();
501-
502-
try (WriteContext ctx = cfs.keyspace.getWriteHandler().createContextForIndexing())
500+
try (UnfilteredRowIterator partition = scanner.next();
501+
WriteContext ctx = cfs.keyspace.getWriteHandler().createContextForIndexing())
503502
{
504503
List<Index.Indexer> indexers = new ArrayList<>();
505504
for (int i = 0; i < indexes.size(); i++)

0 commit comments

Comments
 (0)