You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As there is a code which does validation server details in SMBProtocolNegotiator for given "share" there must be always only one server which corresponds to the share name. This is not true for Azure Files where LRS (locally redundant storage) is selected. For consecutive requests for connection there might be different server responding (different GUID). We have faced it now. Connection as Poolable so it means whenever a connection is really closed SmbClient should unregister itself the server. Leaving it completely outside for user of this library is not easy to maintain the code itself. When connection to server is really closed a cleanup activity should be performed also on serverList.
The text was updated successfully, but these errors were encountered:
I have read #644 but this seems to me as another problem where the connection is still opened and you try to do operations on open connection. In my case I am closing connection after "batch" of operations as long term connections are eating resources and should be avoided
As there is a code which does validation server details in SMBProtocolNegotiator for given "share" there must be always only one server which corresponds to the share name. This is not true for Azure Files where LRS (locally redundant storage) is selected. For consecutive requests for connection there might be different server responding (different GUID). We have faced it now. Connection as Poolable so it means whenever a connection is really closed SmbClient should unregister itself the server. Leaving it completely outside for user of this library is not easy to maintain the code itself. When connection to server is really closed a cleanup activity should be performed also on serverList.
The text was updated successfully, but these errors were encountered: