anmolnar commented on code in PR #7899:
URL: https://github.com/apache/hbase/pull/7899#discussion_r2912163023
##########
hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/storefiletracker/StoreFileTrackerBase.java:
##########
@@ -141,7 +141,9 @@ private HFileContext
createFileContext(Compression.Algorithm compression,
@Override
public final StoreFileWriter createWriter(CreateStoreFileWriterParams
params) throws IOException {
- if (!isPrimaryReplica || isReadOnlyEnabled()) {
+ if (
+ !isPrimaryReplica || (isReadOnlyEnabled() &&
!ctx.getTableName().isWritableInReadOnlyMode())
Review Comment:
What about the other methods in this class? load(), add(), replace(), set()
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]