For me, I think we'd better keep the proto, so we could tell the client that this filter is not supported any more, by throwing a DoNotRetryIOException.
黄卓越 <[email protected]> 于2021年7月18日周日 上午4:17写道: > Hi, > > As https://issues.apache.org/jira/browse/HBASE-13347 describes, the > FirstKeyValueMatchingQualifiersFilter was deprecated in 2.0 and will be > removed in 3.0. Now we need to remove it in 3.0 but there are proto > declareation of FirstKeyValueMatchingQualifiersFilter in Filter.proto. > > If the proto declaration of FirstKeyValueMatchingQualifiersFilter is > removed, serialization problems and unknown errors may occur when the old > version of hbase-client accesses the new version of the server, which may > puzzle users. > > Should we remove the proto declaration directly? Or throw RuntimeException > when the user uses FirstKeyValueMatchingQualifiersFilter? Hope to get your > suggestions. > > Thanks, > Zhuoyue Huang > > 发自我的iPhone
