[jira] [Updated] (RATIS-2410) GrpcStubPool should use GrpcUtil for channel shutdown

2026-02-16 Thread Tsz-wo Sze (Jira)


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

Tsz-wo Sze updated RATIS-2410:
--
Component/s: gRPC

> GrpcStubPool should use GrpcUtil for channel shutdown
> -
>
> Key: RATIS-2410
> URL: https://issues.apache.org/jira/browse/RATIS-2410
> Project: Ratis
>  Issue Type: Bug
>  Components: gRPC
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Minor
>  Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> *Problem:*
> The {{GrpcStubPool.Stub.shutdown()}} method currently calls {{ch.shutdown()}} 
> directly, which only initiates the shutdown process without waiting for 
> completion and doesn't follow the standard cleanup pattern used elsewhere in 
> the codebase.
> *Solution:*
> Replace {{ch.shutdown()}} with {{GrpcUtil.shutdownManagedChannel(ch)}}



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


[jira] [Updated] (RATIS-2410) GrpcStubPool should use GrpcUtil for channel shutdown

2026-02-16 Thread Shilun Fan (Jira)


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

Shilun Fan updated RATIS-2410:
--
Priority: Minor  (was: Major)

> GrpcStubPool should use GrpcUtil for channel shutdown
> -
>
> Key: RATIS-2410
> URL: https://issues.apache.org/jira/browse/RATIS-2410
> Project: Ratis
>  Issue Type: Bug
>Reporter: Shilun Fan
>Assignee: Shilun Fan
>Priority: Minor
>
> *Problem:*
> The {{GrpcStubPool.Stub.shutdown()}} method currently calls {{ch.shutdown()}} 
> directly, which only initiates the shutdown process without waiting for 
> completion and doesn't follow the standard cleanup pattern used elsewhere in 
> the codebase.
> *Solution:*
> Replace {{ch.shutdown()}} with {{GrpcUtil.shutdownManagedChannel(ch)}}



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