Github user keith-turner commented on a diff in the pull request: https://github.com/apache/accumulo/pull/244#discussion_r112552372 --- Diff: core/src/main/java/org/apache/accumulo/core/iterators/WrappingIterator.java --- @@ -58,21 +58,21 @@ protected void setSource(SortedKeyValueIterator<Key,Value> source) { public Key getTopKey() { if (seenSeek == false) throw new IllegalStateException("never been seeked"); - return getSource().getTopKey(); + return source.getTopKey(); --- End diff -- This could possibly break iterators that extend WrappingIterator and override getSource(). I don't think we should make this change. Maybe it would be better to deprecate WrappingIterator and introduce another version for users that more efficient. I don't think we have a lot of wiggle room to make this one more efficient without possibly breaking user iterators.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---