Copilot commented on code in PR #6902:
URL: https://github.com/apache/hbase/pull/6902#discussion_r2040581134


##########
hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/RowIndexSeekerV1.java:
##########
@@ -307,7 +307,7 @@ protected boolean isValid() {
 
     protected void invalidate() {
       valueOffset = -1;

Review Comment:
   In the invalidate() method, consider also resetting 'keyOffset' to -1 to 
fully clear the state and maintain consistency with other fields.
   ```suggestion
         valueOffset = -1;
         keyOffset = -1;
   ```



-- 
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]

Reply via email to