jojochuang commented on pull request #3426: URL: https://github.com/apache/hbase/pull/3426#issuecomment-869568788
Ok I came up with a hack to maintain backward compat: We can retain the return type of getStores. For HRegion, it returns a special List subclass that behaves just like a Collection: pass the Collection object, delegate operations to it, and reject any List-only operation. There is no operation in the HBase code that must require performing List operations on the stores. If a coprocessor need List semantics, it can easily convert to a real list. See if you guys like this approach. -- 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]
