-
Notifications
You must be signed in to change notification settings - Fork 713
Description
I'm trying to debug an issue with the versioning middleware in our project. It seems that if I make more than one request at a time at service startup, the service somehow gets into a state where it runs the action selector twice for the request without clearing between (which causes it to fail because the same action always gets added twice to the ApiVersionProperties().SelectionResult, which fails). If I make one request upon startup, wait for it to return, then continue making requests, everything works fine no matter how much traffic I hit the service with (it still runs the selector twice, but seems to work fine).
I've tried building a simple repro of this, but it's doesn't seem to happen in a simple service. I'm unfortunately unable to share the code I'm working on. I'm wondering if I might be able to get some guidance for debugging this? Or some ideas for what might be causing it? I've spent a couple days trying to track this down already and don't feel like I've made any progress.