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/04/08 10:35:36 UTC

[PR] HDDS-12770. Use ContainerID instead of Long in CONTAINER_IDS_TABLE. [ozone]

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

   ## What changes were proposed in this pull request?
   
   The key type of CONTAINER_IDS_TABLE is Long. It is better to use ContainerID.
   
   Note that the binary encodings are the same for Long and ContainerID. It is compatible to replace Long with ContainerID in db.
   
   ## What is the link to the Apache JIRA
   
   HDDS-12770
   
   ## How was this patch tested?
   
   Added new 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-12770. Use ContainerID instead of Long in CONTAINER_IDS_TABLE. [ozone]

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

   @swamirishi , thanks for reviewing this!
   
   > ... do you think we should change the base implementation of ContainerData to store the ContainerID itself instead of a long? ...
   
   We should change all the `long` to ContainerID whenever it is possible.


-- 
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-12770. Use ContainerID instead of Long in CONTAINER_IDS_TABLE. [ozone]

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


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