You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "szetszwo (via GitHub)" <gi...@apache.org> on 2025/06/16 20:27:02 UTC

[PR] HDDS-13276. Use KEY_ONLY/VALUE_ONLY iterator in SCM/Datanode. [ozone]

szetszwo opened a new pull request, #8638:
URL: https://github.com/apache/ozone/pull/8638

   ## What changes were proposed in this pull request?
   
   After [HDDS-13254](https://issues.apache.org/jira/browse/HDDS-13254), we may specific the iterator type to create KEY_ONLY/VALUE_ONLY iterators. In this JIRA, we change the SCM and datanode code to use it.
   
   ## What is the link to the Apache JIRA
   
   HDDS-13276
   
   ## How was this patch tested?
   
   By existing tests


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-13276. Use KEY_ONLY/VALUE_ONLY iterator in SCM/Datanode. [ozone]

Posted by "nandakumar131 (via GitHub)" <gi...@apache.org>.
nandakumar131 commented on PR #8638:
URL: https://github.com/apache/ozone/pull/8638#issuecomment-2978770219

   @szetszwo, thanks for working on this.
   
   Will it make sense to have `KeyIterator<KEY> keyIterator(KEY prefix)` & `ValueIterator<VALUE> valueIterator(KEY prefix)` exposed rather than having `KeyValueIterator<KEY, VALUE> iterator(KEY prefix, KeyValueIterator.Type type)`? This will make it harder to make mistakes while calling these APIs.


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-13276. Use KEY_ONLY/VALUE_ONLY iterator in SCM/Datanode. [ozone]

Posted by "szetszwo (via GitHub)" <gi...@apache.org>.
szetszwo merged PR #8638:
URL: https://github.com/apache/ozone/pull/8638


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-13276. Use KEY_ONLY/VALUE_ONLY iterator in SCM/Datanode. [ozone]

Posted by "szetszwo (via GitHub)" <gi...@apache.org>.
szetszwo commented on PR #8638:
URL: https://github.com/apache/ozone/pull/8638#issuecomment-2985172238

   @nandakumar131 , thanks a lot for reviewing this!


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-13276. Use KEY_ONLY/VALUE_ONLY iterator in SCM/Datanode. [ozone]

Posted by "szetszwo (via GitHub)" <gi...@apache.org>.
szetszwo commented on PR #8638:
URL: https://github.com/apache/ozone/pull/8638#issuecomment-2979458176

   @nandakumar131 , thanks for reviewing this!
   
   > Will it make sense to have KeyIterator<KEY> keyIterator(KEY prefix) & ValueIterator<VALUE> valueIterator(KEY prefix) ...
   
   It is a much bigger change.  Also, this kind of change is like a rocksdb feature.  For Ozone, it is just an internal API.  If there is a need, let's do is separately.
   
   


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org