Skip to content

Commit 8363417

Browse files
committed
Merge branch 'cassandra-4.0' into cassandra-4.1
2 parents 4824ecc + 591ad81 commit 8363417

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
@@ -473,9 +473,8 @@ private void maybeNotifyIndexersAboutRowsInFullyExpiredSSTables(Set<SSTableReade
473473
{
474474
while (scanner.hasNext())
475475
{
476-
UnfilteredRowIterator partition = scanner.next();
477-
478-
try (WriteContext ctx = cfs.keyspace.getWriteHandler().createContextForIndexing())
476+
try (UnfilteredRowIterator partition = scanner.next();
477+
WriteContext ctx = cfs.keyspace.getWriteHandler().createContextForIndexing())
479478
{
480479
List<Index.Indexer> indexers = new ArrayList<>();
481480
for (int i = 0; i < indexes.size(); i++)

0 commit comments

Comments
 (0)