Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling Extended Session Distributed Tracing #373

Merged
merged 4 commits into from
Mar 10, 2020

Conversation

TsuyoshiUshio
Copy link
Collaborator

@TsuyoshiUshio TsuyoshiUshio commented Mar 2, 2020

I found that current implementation doesn't work well for extended session settings.
This PR unlock the extended session with Distributed Tracing.
Could you have a look, @cgillum ?

() =>
{
// Check if it is extended session.
isExtendedSession = this.concurrentSessionLock.Acquire();
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@cgillum Is there a better way to check if it is an extended session?
I don't know why checking the lock availability becomes checking the extended session. It works, however, not cool.

Copy link
Contributor

Choose a reason for hiding this comment

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

There might be... I will get back to you on that.

Copy link
Contributor

@ConnorMcMahon ConnorMcMahon left a comment

Choose a reason for hiding this comment

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

Looks good for most part. Have a few questions that should probably be resolved before merging.

() =>
{
// Check if it is extended session.
isExtendedSession = this.concurrentSessionLock.Acquire();
Copy link
Contributor

Choose a reason for hiding this comment

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

There might be... I will get back to you on that.

@ConnorMcMahon ConnorMcMahon merged commit 9e7c0e1 into Azure:correlation Mar 10, 2020
TsuyoshiUshio added a commit to TsuyoshiUshio/durabletask that referenced this pull request Mar 21, 2020
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