[ https://issues.apache.org/jira/browse/IGNITE-23770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksandr Polovtsev updated IGNITE-23770: ----------------------------------------- Description: {{ReplicationGroupId}} such as {{TablePartitionId}} and {{ZonePartitionId}} is often encoded as a part of a Meta Storage key. There exist methods to decode parts of these objects back, but not objects as a whole. I propose to add such methods, as it will reduce the number of byte -> string conversions and will make the code shorter. (was: {{ReplicationGroupId}} such as {{TablePartitionId}} and {{ZonePartitionId}} is often encoded as a part of a Meta Storage key. There exist methods to decode parts of these objects back, but not objects as whole. I propose to add such methods, as it will reduce the number of byte -> string conversions and will make the code shorter.) > Introduce a method to extract ReplicationGroupId from Meta Storage keys > ----------------------------------------------------------------------- > > Key: IGNITE-23770 > URL: https://issues.apache.org/jira/browse/IGNITE-23770 > Project: Ignite > Issue Type: Improvement > Reporter: Aleksandr Polovtsev > Assignee: Aleksandr Polovtsev > Priority: Trivial > Labels: ignite-3 > Time Spent: 10m > Remaining Estimate: 0h > > {{ReplicationGroupId}} such as {{TablePartitionId}} and {{ZonePartitionId}} > is often encoded as a part of a Meta Storage key. There exist methods to > decode parts of these objects back, but not objects as a whole. I propose to > add such methods, as it will reduce the number of byte -> string conversions > and will make the code shorter. -- This message was sent by Atlassian Jira (v8.20.10#820010)