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

Claus Ibsen resolved CAMEL-27370.
---------------------------------
    Resolution: Fixed

> camel-smb - when the server goes away, the next poll hangs in disconnect and 
> blocks shutdown
> --------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-27370
>                 URL: https://issues.apache.org/jira/browse/CAMEL-27370
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-smb
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 4.24.0
>
>
> When the SMB server disappears (for example the container is stopped), the 
> next poll hangs in {{SmbOperations.disconnect}} (smbj {{Session.logoff}} / 
> {{TreeConnect.close}}), and the graceful shutdown waits for it. Every 
> shutdown also logs a WARN "Directory close failed ... DiskShare has already 
> been closed" for each polled directory.
> Expected: disconnect is bounded by a timeout, and closing an already closed 
> share is not logged as a WARN.
> Found while adding new Kamelets to the Kamelet catalog 
> (apache/camel-kamelets, 2026-11-21).



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to