File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
src/java/org/apache/cassandra/net Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 22
22
import java .util .concurrent .atomic .AtomicReferenceFieldUpdater ;
23
23
import java .util .function .Predicate ;
24
24
25
+ import org .apache .cassandra .index .IndexBuildInProgressException ;
25
26
import org .apache .cassandra .index .sai .utils .AbortedOperationException ;
26
27
import org .slf4j .LoggerFactory ;
27
28
@@ -105,12 +106,20 @@ public void accept(Message<?> message)
105
106
if (t instanceof AbortedOperationException )
106
107
return ;
107
108
108
- if (t instanceof TombstoneOverwhelmingException || t instanceof IndexNotAvailableException )
109
+ if (t instanceof TombstoneOverwhelmingException ||
110
+ t instanceof IndexNotAvailableException ||
111
+ t instanceof IndexBuildInProgressException )
112
+ {
109
113
noSpamLogger .error (t .getMessage ());
114
+ }
110
115
else if (t instanceof RuntimeException )
116
+ {
111
117
throw (RuntimeException ) t ;
118
+ }
112
119
else
120
+ {
113
121
throw new RuntimeException (t );
122
+ }
114
123
}
115
124
}
116
125
You can’t perform that action at this time.
0 commit comments