Skip to content

Fixed store.cc "!mem_obj" assertion via peerDigestRequest#134

Merged
rousskov merged 2 commits intosquid-cache:masterfrom
measurement-factory:SQUID-351-5min-peerDigestReqest-assert
Jan 23, 2018
Merged

Fixed store.cc "!mem_obj" assertion via peerDigestRequest#134
rousskov merged 2 commits intosquid-cache:masterfrom
measurement-factory:SQUID-351-5min-peerDigestReqest-assert

Conversation

@rousskov
Copy link
Contributor

Broken by commit 76d6111 (GitHub PR #50) which (correctly) made
createMeObject() assert but missed one case where the old code should
have been converted to call the new ensureMemObject() instead.

peerDigestRequest() is called every 5 minutes, triggered by the
peerDigestCheck event. Most calls find the old digest entry that has the
same method and URIs.

Broken by commit 76d6111 which (correctly) made createMeObject() assert
but missed one case where the old code should have been converted to
call the new ensureMemObject() instead.

peerDigestRequest() is called every 5 minutes, triggered by the
peerDigestCheck event. Most calls find the old digest entry that has the
same method and URIs.
@rousskov
Copy link
Contributor Author

I have not tested the proposed fix but am asking @chtsanti (who found the bug) to review and test it.

@rousskov rousskov merged commit dba7b57 into squid-cache:master Jan 23, 2018
@rousskov rousskov deleted the SQUID-351-5min-peerDigestReqest-assert branch January 23, 2018 21:08
Copy link
Contributor

@eduard-bagdasaryan eduard-bagdasaryan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not actual now (already merged), but this trivial fix looks correct to me.

squidadm pushed a commit to squidadm/squid that referenced this pull request Feb 1, 2018
…e#134)

Broken by commit 76d6111 which (correctly) made createMeObject() assert
but missed one case where the old code should have been converted to
call the new ensureMemObject() instead.

peerDigestRequest() is called every 5 minutes, triggered by the
peerDigestCheck event. Most calls find the old digest entry that has the
same method and URIs.
yadij pushed a commit that referenced this pull request Feb 2, 2018
Broken by commit 76d6111 which (correctly) made createMeObject() assert
but missed one case where the old code should have been converted to
call the new ensureMemObject() instead.

peerDigestRequest() is called every 5 minutes, triggered by the
peerDigestCheck event. Most calls find the old digest entry that has the
same method and URIs.
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.

3 participants