Skip to content

Conversation

mint570
Copy link
Contributor

@mint570 mint570 commented Apr 29, 2025

In ZmqConsumerStateTable, lock the m_receivedOperationQueue until the whole batch request is processed.

We observed in rare cases that the consumer calls pops pre-maturely before the whole batch request is received. This change will ensure pops() always return the full batch request.

whole batch request is processed.

We observed in rare cases that the consumer calls pops pre-maturely
before the whole batch request is received. This change will ensure
pops() always return the full batch request.

Change-Id: I0a20717e36cde3cd6760928935cc67e004720d2b
@mssonicbld
Copy link
Collaborator

/azp run

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mint570 mint570 changed the title In ZmqConsumerStateTable, lock the m_receivedOperationQueue until the In ZmqConsumerStateTable, lock the m_receivedOperationQueue until the whole batch request is processed. Apr 29, 2025
@mint570 mint570 requested a review from liuh-80 April 29, 2025 00:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants