Skip to content

Clear expiredMessageSessions when reciever is created for the same session#1264

Merged
ramya-rao-a merged 3 commits intoAzure:masterfrom
ramya-rao-a:expire-session
Feb 19, 2019
Merged

Clear expiredMessageSessions when reciever is created for the same session#1264
ramya-rao-a merged 3 commits intoAzure:masterfrom
ramya-rao-a:expire-session

Conversation

@ramya-rao-a
Copy link
Contributor

This PR fixes #1263 by clearing expiredMessageSessions regardless of whether sessionId was passed to getSessionReceiver or not.

One of the existing test cases are updated to cover the test for this case.

@ghost ghost added the in progress label Feb 18, 2019
Copy link
Member

@ramya0820 ramya0820 left a comment

Choose a reason for hiding this comment

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

Good catch!

@ramya-rao-a ramya-rao-a merged commit d111b43 into Azure:master Feb 19, 2019
@ghost ghost removed the in progress label Feb 19, 2019
HarshaNalluru pushed a commit to HarshaNalluru/azure-sdk-for-js that referenced this pull request Apr 12, 2019
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.

[Service Bus] Subsequent session receivers for an expired session get the SessionLockLostError

2 participants