Croway commented on PR #30266: URL: https://github.com/apache/camel/pull/30266#issuecomment-6948194974
Reproduced: while the share refuses the connection, the route start and 5 polls left 6 entries on the directory stack. It also happened before this PR once the route was running, for example when the credentials expire. Fixed in 98c618f4b0d4: `connect` resets the stack to the share root, as `forceDisconnect` does, and `FilesConsumerAutoCreateTest.refusedConnectionsDoNotGrowTheDirectoryStack` covers it. No caller relies on the stack across a connect: the consumer and the producer connect outside any operation, `deleteFile` reconnects before it takes its `backup()`, and the operations that change directory restore their backup. Agreed on the WARN wording, left as is. No 4.22.x backport: a route that failed to start now starts, which is a behaviour change for a minor issue. _Claude Code on behalf of Federico Mariani_ -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
