-
Type:
Bug
-
Status:
Done
-
Priority:
High
-
Resolution:
Done
-
Affects Version/s:
None
-
-
-
Company:
All Clients/Multiple Clients
-
Sprint:
DMS - Gap Fall & Win Sprint 3
Userdid : dmsuserid4cmp1
AccDid : A7F0PT78MTMZ470WBBT
Error is received for Send Bulk API
PFA
{"report":{"apdex":1,"isInitial":true,"journeyId":"25eb8fd6-ff5a-4803-83f1-42365ec07bc1","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":568.8000000119209,"redirectCount":0,"resourceLoadedEnd":515.3000000119209,"resourceLoadedStart":94,"resourceTiming":[{"duration":34.5,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":94,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":94,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":128.5,"responseStart":0,"secureConnectionStart":0},{"duration":34.599999994039536,"initiatorType":"link","name":"https://jira.workterra.net/s/dd6a0911920485696ac20493290df627-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/css/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":94.30000001192093,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":94.30000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":128.90000000596046,"responseStart":0,"secureConnectionStart":0},{"duration":34.599999994039536,"initiatorType":"link","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":94.40000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":94.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":129,"responseStart":0,"secureConnectionStart":0},{"duration":35.099999994039536,"initiatorType":"link","name":"https://jira.workterra.net/s/bd548f27bbf8f278bd83b60dd3284ed8-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":94.6000000089407,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":94.6000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":129.70000000298023,"responseStart":0,"secureConnectionStart":0},{"duration":35.099999994039536,"initiatorType":"link","name":"https://jira.workterra.net/s/70725731a158a7140f19ddbd4201ba27-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":94.90000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":94.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":130,"responseStart":0,"secureConnectionStart":0},{"duration":82.5,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":95,"connectEnd":95,"connectStart":95,"domainLookupEnd":95,"domainLookupStart":95,"fetchStart":95,"redirectEnd":0,"redirectStart":0,"requestStart":95,"responseEnd":177.5,"responseStart":177.5,"secureConnectionStart":95},{"duration":111.1000000089407,"initiatorType":"script","name":"https://jira.workterra.net/s/6ce676f2a5bcc9651cef6e7956f05def-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/3abe50d469404b639745df44b51476b6/_/download/contextbatch/js/jira.browse.project,jira.view.issue,project.issue.navigator,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":95.20000000298023,"connectEnd":95.20000000298023,"connectStart":95.20000000298023,"domainLookupEnd":95.20000000298023,"domainLookupStart":95.20000000298023,"fetchStart":95.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":95.20000000298023,"responseEnd":206.30000001192093,"responseStart":206.30000001192093,"secureConnectionStart":95.20000000298023},{"duration":113.79999999701977,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/4.1.5/_/download/resources/com.atlassian.plugins.atlassian-chaperone:hotspot-tour/hotspot-tour.js?batch=false&locale=en-US","startTime":95.40000000596046,"connectEnd":95.40000000596046,"connectStart":95.40000000596046,"domainLookupEnd":95.40000000596046,"domainLookupStart":95.40000000596046,"fetchStart":95.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":95.40000000596046,"responseEnd":209.20000000298023,"responseStart":209.20000000298023,"secureConnectionStart":95.40000000596046},{"duration":114,"initiatorType":"script","name":"https://jira.workterra.net/s/6aa3fcf1fac5fd551eee0b69077524e6-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":95.70000000298023,"connectEnd":95.70000000298023,"connectStart":95.70000000298023,"domainLookupEnd":95.70000000298023,"domainLookupStart":95.70000000298023,"fetchStart":95.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":95.70000000298023,"responseEnd":209.70000000298023,"responseStart":209.70000000298023,"secureConnectionStart":95.70000000298023},{"duration":114.29999999701977,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":95.80000001192093,"connectEnd":95.80000001192093,"connectStart":95.80000001192093,"domainLookupEnd":95.80000001192093,"domainLookupStart":95.80000001192093,"fetchStart":95.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":95.80000001192093,"responseEnd":210.1000000089407,"responseStart":210.1000000089407,"secureConnectionStart":95.80000001192093},{"duration":114.70000000298023,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":95.90000000596046,"connectEnd":95.90000000596046,"connectStart":95.90000000596046,"domainLookupEnd":95.90000000596046,"domainLookupStart":95.90000000596046,"fetchStart":95.90000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":95.90000000596046,"responseEnd":210.6000000089407,"responseStart":210.6000000089407,"secureConnectionStart":95.90000000596046},{"duration":114.70000000298023,"initiatorType":"script","name":"https://jira.workterra.net/s/ecf7ec549751ae117b778f0525d6d371-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/8.5.0/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":96.20000000298023,"connectEnd":96.20000000298023,"connectStart":96.20000000298023,"domainLookupEnd":96.20000000298023,"domainLookupStart":96.20000000298023,"fetchStart":96.20000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":96.20000000298023,"responseEnd":210.90000000596046,"responseStart":210.90000000596046,"secureConnectionStart":96.20000000298023},{"duration":222.29999999701977,"initiatorType":"link","name":"https://jira.workterra.net/s/05c862146699bb029ceb0a489075e63b-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/bcd66e9a133a1b9f5fd14b56841e1c5b/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":96.40000000596046,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":96.40000000596046,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":318.70000000298023,"responseStart":0,"secureConnectionStart":0},{"duration":114.90000000596046,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/a664c2c06e52d83566c477b9899c262e/shortcuts.js?context=issuenavigation&context=issueaction","startTime":96.5,"connectEnd":96.5,"connectStart":96.5,"domainLookupEnd":96.5,"domainLookupStart":96.5,"fetchStart":96.5,"redirectEnd":0,"redirectStart":0,"requestStart":96.5,"responseEnd":211.40000000596046,"responseStart":211.40000000596046,"secureConnectionStart":96.5},{"duration":222.1000000089407,"initiatorType":"link","name":"https://jira.workterra.net/s/9095228fa10daa2d3e3d7d5760c95e91-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":96.70000000298023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":96.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":318.80000001192093,"responseStart":0,"secureConnectionStart":0},{"duration":115.09999999403954,"initiatorType":"script","name":"https://jira.workterra.net/s/c19a1b46e985d7fb85efaf27c8febfdd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/72477c22780abda5f51fe696920d843f/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":96.80000001192093,"connectEnd":96.80000001192093,"connectStart":96.80000001192093,"domainLookupEnd":96.80000001192093,"domainLookupStart":96.80000001192093,"fetchStart":96.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":96.80000001192093,"responseEnd":211.90000000596046,"responseStart":211.90000000596046,"secureConnectionStart":96.80000001192093},{"duration":411.80000001192093,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":98,"connectEnd":98,"connectStart":98,"domainLookupEnd":98,"domainLookupStart":98,"fetchStart":98,"redirectEnd":0,"redirectStart":0,"requestStart":98,"responseEnd":509.80000001192093,"responseStart":509.80000001192093,"secureConnectionStart":98},{"duration":413.20000000298023,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":98.1000000089407,"connectEnd":98.1000000089407,"connectStart":98.1000000089407,"domainLookupEnd":98.1000000089407,"domainLookupStart":98.1000000089407,"fetchStart":98.1000000089407,"redirectEnd":0,"redirectStart":0,"requestStart":98.1000000089407,"responseEnd":511.30000001192093,"responseStart":511.30000001192093,"secureConnectionStart":98.1000000089407},{"duration":81.69999998807907,"initiatorType":"xmlhttprequest","name":"https://jira.workterra.net/rest/webResources/1.0/resources","startTime":345.80000001192093,"connectEnd":345.80000001192093,"connectStart":345.80000001192093,"domainLookupEnd":345.80000001192093,"domainLookupStart":345.80000001192093,"fetchStart":345.80000001192093,"redirectEnd":0,"redirectStart":0,"requestStart":345.80000001192093,"responseEnd":427.5,"responseStart":427.5,"secureConnectionStart":345.80000001192093},{"duration":61.6000000089407,"initiatorType":"script","name":"https://jira.workterra.net/s/d41d8cd98f00b204e9800998ecf8427e-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/be9ff0efea54a6453d2ac60b92912a09/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-atl.general/batch.js?agile_global_admin_condition=true&jag=true","startTime":453.70000000298023,"connectEnd":453.70000000298023,"connectStart":453.70000000298023,"domainLookupEnd":453.70000000298023,"domainLookupStart":453.70000000298023,"fetchStart":453.70000000298023,"redirectEnd":0,"redirectStart":0,"requestStart":453.70000000298023,"responseEnd":515.3000000119209,"responseStart":515.3000000119209,"secureConnectionStart":453.70000000298023}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":13,"responseStart":89,"responseEnd":90,"domLoading":92,"domInteractive":657,"domContentLoadedEventStart":657,"domContentLoadedEventEnd":717,"domComplete":767,"loadEventStart":767,"loadEventEnd":770,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"b9849e40b29634","effectiveType":"4g","downlink":9.4,"rtt":0,"serverDuration":50,"dbReadsTimeInMs":3,"dbConnsTimeInMs":5,"applicationHash":"156decd7d2b4272533aa6cefc8294af635e1da97","experiments":[]}}
3C's
Concern: Error for Send Bulk API
Cause: Send Bulk API uses parallel loop to generate token for each template. The context that is needed for common routines was not getting initialized for every thread which resulted in this issue. Common routine object was recently removed in caching changes.
Actual error log: System.AggregateException: One or more errors occurred. (A second operation started on this context before a previous operation completed. This is usually caused by different threads using the same instance of DbContext, however instance members are not guaranteed to be thread safe. This could also be caused by a nested query being evaluated on the client, if this is the case rewrite the query avoiding nested invocations.) ---> System.InvalidOperationException: A second operation started on this context before a previous operation completed. This is usually caused by different threads using the same instance of DbContext, however instance members are not guaranteed to be thread safe. This could also be caused by a nested query being evaluated on the client, if this is the case rewrite the query avoiding nested invocations.
Correction: We have created a commonroutine object in parallel loop for that different threads use different objects.
CC:Rohan J Khandave