You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2026/05/15 08:56:00 UTC

[jira] [Updated] (HDDS-15281) Missing LifeCycleState codec in ScmCodecFactory

     [ https://issues.apache.org/jira/browse/HDDS-15281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated HDDS-15281:
----------------------------------
    Labels: pull-request-available  (was: )

> Missing LifeCycleState codec in ScmCodecFactory
> -----------------------------------------------
>
>                 Key: HDDS-15281
>                 URL: https://issues.apache.org/jira/browse/HDDS-15281
>             Project: Apache Ozone
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Sarveksha Yeshavantha Raju
>            Assignee: Sarveksha Yeshavantha Raju
>            Priority: Major
>              Labels: pull-request-available
>
> {{ContainerStateManager#transitionDeletingOrDeletedToTargetState}} is annotated with {{@Replicate}} and takes {{org.apache.hadoop.hdds.protocol.proto.HddsProtos.LifeCycleState}} as a parameter. After HDDS-14748 (non-reflection {{ScmGeneratedMessageCodec}} / explicit codec registration for Ratis serialization), callers need a {{ScmCodec}} registered for every protobuf-derived type used in replicated method arguments—including protobuf enums handled via {{ScmEnumCodec}}.
> {{LifeCycleState}} was not registered in {{ScmCodecFactory}}, while related enums such as {{{}LifeCycleEvent{}}}, {{{}PipelineState{}}}, and {{NodeType}} already were. That can cause {{InvalidProtocolBufferException}} (“Codec not found …”) when the leader submits or followers apply this Ratis transaction.
> cc: [~sumitagrawl]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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