On 4/11/23 11:07, 汪翰林 wrote:
> 
> 在 2023/4/7 21:20, Simon Horman 写道:
>> On Fri, Apr 07, 2023 at 02:59:04PM +0800, wanghanlin wrote:
>>> When 'cs' is not connected to a server, then
>>> ovsdb_cs_db_compose_lock_request__ will update
>>> 'cs_db' lock flag, but the lock flag will not
>>> be updated next.
>>>
>>> Signed-off-by: wanghanlin <[email protected]>
>> Hi,
>>
>> Are there also error conditions where this situation can arise?
> This happens when reconnect_disable is called.

Hi.  Why exactly this condition is bad?  While composing the
lock request the 'has_lock' flag will be dropped to 'false'.
The lock request will be created, but the send will fail, since
there is no connection.  However, this shouldn't have any
consequences, because we do not claim to have a lock.  Once we
re-connect a new request should be formed and sent out.  Or am
I missing something?

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to