Skip to content

[buffermgr]: remove the item from consumer queue if invalid#489

Merged
lguohan merged 2 commits intosonic-net:masterfrom
sihuihan88:dev/sihan/buffermgr
Apr 26, 2018
Merged

[buffermgr]: remove the item from consumer queue if invalid#489
lguohan merged 2 commits intosonic-net:masterfrom
sihuihan88:dev/sihan/buffermgr

Conversation

@sihuihan88
Copy link
Contributor

Signed-off-by: Sihui Han [email protected]

What I did
Remove the item from consumer queue if invalid
Why I did it
Otherwise, it will keep trying to process the item, write errors and pollutes the syslog.
How I verified it
Tested on DUT.
Details if related

@lguohan lguohan merged commit edafa34 into sonic-net:master Apr 26, 2018
lguohan pushed a commit that referenced this pull request Apr 27, 2018
* [buffermgr]: remove the item from consumer queue if invalid

Signed-off-by: Sihui Han <[email protected]>

* change error to task_invalid_entry

Signed-off-by: Sihui Han <[email protected]>
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
oleksandrivantsiv pushed a commit to oleksandrivantsiv/sonic-swss that referenced this pull request Mar 1, 2023
* fixed issue of permenent block on redisBufferRead() due to unprotected access from different threads

syncd main thread was doing g_redisClient->hget without acquiring g_mutex, thereby causing either syncd main thread or notification thread to block indefinitely on redisBufferRead().

* Delete .DS_Store

.

* resolved merge conflict

* Revert "resolved merge conflict"

This reverts commit f0094914cb93249482ee79fc5d4db402aecf79d6.

* Revert "Merge remote-tracking branch 'upstream/master'"

This reverts commit 550aca906c4f0ccca0d03a95c96152e9a37abae1, reversing
changes made to 676c0b58c4452478161d14a04140ed663127e91d.

* Revert "Revert "Merge remote-tracking branch 'upstream/master'""

This reverts commit 03fc996e8c530505a3ad22b23e75ef2c77ebc668.

* Revert "Revert "resolved merge conflict""

This reverts commit e840a6b0f4d2df1679d654796f4e303f73d98abe.

* Update syncd.cpp

* Update syncd.cpp

* Update syncd.cpp

* Update syncd.cpp
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
…t#489)

* [buffermgr]: remove the item from consumer queue if invalid

Signed-off-by: Sihui Han <[email protected]>

* change error to task_invalid_entry

Signed-off-by: Sihui Han <[email protected]>
Janetxxx pushed a commit to Janetxxx/sonic-swss that referenced this pull request Nov 10, 2025
…t#489)

* [buffermgr]: remove the item from consumer queue if invalid

Signed-off-by: Sihui Han <[email protected]>

* change error to task_invalid_entry

Signed-off-by: Sihui Han <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants