-
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":0.5,"isInitial":true,"journeyId":"46c6c702-970a-438e-ab79-9b027c0b5c53","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":2016.9000000059605,"redirectCount":0,"resourceLoadedEnd":1642.2000000178814,"resourceLoadedStart":1005.7000000178814,"resourceTiming":[{"duration":59.29999998211861,"initiatorType":"link","name":"https://jira.workterra.net/s/3003653444a1e1a85555cab7dcfb3a21-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/css/_super/batch.css","startTime":1005.7000000178814,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1005.7000000178814,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1065,"responseStart":0,"secureConnectionStart":0},{"duration":97.19999998807907,"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":1007.9000000059605,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1007.9000000059605,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1105.0999999940395,"responseStart":0,"secureConnectionStart":0},{"duration":96.5,"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":1008.9000000059605,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1008.9000000059605,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1105.4000000059605,"responseStart":0,"secureConnectionStart":0},{"duration":97.69999998807907,"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":1009.4000000059605,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1009.4000000059605,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1107.0999999940395,"responseStart":0,"secureConnectionStart":0},{"duration":121,"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":1011.8000000119209,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1011.8000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1132.800000011921,"responseStart":0,"secureConnectionStart":0},{"duration":233,"initiatorType":"script","name":"https://jira.workterra.net/s/f2623af22c15df767ec6ff268ae0b8bd-CDN/-w431t5/805012/9a9e1fae3639050b38ac467c3aa37e79/2e46d90b5cae895c9c38649c9d510130/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":1012.0999999940395,"connectEnd":1012.0999999940395,"connectStart":1012.0999999940395,"domainLookupEnd":1012.0999999940395,"domainLookupStart":1012.0999999940395,"fetchStart":1012.0999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":1133.4000000059605,"responseEnd":1245.0999999940395,"responseStart":1169.5999999940395,"secureConnectionStart":1012.0999999940395},{"duration":534.9000000059605,"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":1013.5,"connectEnd":1013.5,"connectStart":1013.5,"domainLookupEnd":1013.5,"domainLookupStart":1013.5,"fetchStart":1013.5,"redirectEnd":0,"redirectStart":0,"requestStart":1149.0999999940395,"responseEnd":1548.4000000059605,"responseStart":1242.800000011921,"secureConnectionStart":1013.5},{"duration":245.10000002384186,"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":1013.5999999940395,"connectEnd":1013.5999999940395,"connectStart":1013.5999999940395,"domainLookupEnd":1013.5999999940395,"domainLookupStart":1013.5999999940395,"fetchStart":1013.5999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":1161.800000011921,"responseEnd":1258.7000000178814,"responseStart":1250.0999999940395,"secureConnectionStart":1013.5999999940395},{"duration":211.5,"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":1014.0999999940395,"connectEnd":1014.0999999940395,"connectStart":1014.0999999940395,"domainLookupEnd":1014.0999999940395,"domainLookupStart":1014.0999999940395,"fetchStart":1014.0999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":1168.7000000178814,"responseEnd":1225.5999999940395,"responseStart":1225,"secureConnectionStart":1014.0999999940395},{"duration":245,"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":1014.3000000119209,"connectEnd":1014.3000000119209,"connectStart":1014.3000000119209,"domainLookupEnd":1014.3000000119209,"domainLookupStart":1014.3000000119209,"fetchStart":1014.3000000119209,"redirectEnd":0,"redirectStart":0,"requestStart":1174.5999999940395,"responseEnd":1259.300000011921,"responseStart":1258.7000000178814,"secureConnectionStart":1014.3000000119209},{"duration":213.2000000178814,"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":1014.5999999940395,"connectEnd":1014.5999999940395,"connectStart":1014.5999999940395,"domainLookupEnd":1014.5999999940395,"domainLookupStart":1014.5999999940395,"fetchStart":1014.5999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":1176.9000000059605,"responseEnd":1227.800000011921,"responseStart":1227.2000000178814,"secureConnectionStart":1014.5999999940395},{"duration":188.2000000178814,"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":1038,"connectEnd":1038,"connectStart":1038,"domainLookupEnd":1038,"domainLookupStart":1038,"fetchStart":1038,"redirectEnd":0,"redirectStart":0,"requestStart":1176.9000000059605,"responseEnd":1226.2000000178814,"responseStart":1225.7000000178814,"secureConnectionStart":1038},{"duration":111.5,"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":1038.0999999940395,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1038.0999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1149.5999999940395,"responseStart":0,"secureConnectionStart":0},{"duration":188.5,"initiatorType":"script","name":"https://jira.workterra.net/rest/api/1.0/shortcuts/805012/e80c7a6aee0fa86c2b1a716575a614aa/shortcuts.js?context=issuenavigation&context=issueaction","startTime":1038.5999999940395,"connectEnd":1038.5999999940395,"connectStart":1038.5999999940395,"domainLookupEnd":1038.5999999940395,"domainLookupStart":1038.5999999940395,"fetchStart":1038.5999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":1177.0999999940395,"responseEnd":1227.0999999940395,"responseStart":1226.4000000059605,"secureConnectionStart":1038.5999999940395},{"duration":118.59999999403954,"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":1038.9000000059605,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1038.9000000059605,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1157.5,"responseStart":0,"secureConnectionStart":0},{"duration":203.40000000596046,"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":1039.4000000059605,"connectEnd":1039.4000000059605,"connectStart":1039.4000000059605,"domainLookupEnd":1039.4000000059605,"domainLookupStart":1039.4000000059605,"fetchStart":1039.4000000059605,"redirectEnd":0,"redirectStart":0,"requestStart":1177.2000000178814,"responseEnd":1242.800000011921,"responseStart":1228,"secureConnectionStart":1039.4000000059605},{"duration":598.6000000238419,"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":1042.0999999940395,"connectEnd":1042.0999999940395,"connectStart":1042.0999999940395,"domainLookupEnd":1042.0999999940395,"domainLookupStart":1042.0999999940395,"fetchStart":1042.0999999940395,"redirectEnd":0,"redirectStart":0,"requestStart":1537.5,"responseEnd":1640.7000000178814,"responseStart":1640,"secureConnectionStart":1042.0999999940395},{"duration":600,"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":1042.2000000178814,"connectEnd":1042.2000000178814,"connectStart":1042.2000000178814,"domainLookupEnd":1042.2000000178814,"domainLookupStart":1042.2000000178814,"fetchStart":1042.2000000178814,"redirectEnd":0,"redirectStart":0,"requestStart":1595.5999999940395,"responseEnd":1642.2000000178814,"responseStart":1641.5999999940395,"secureConnectionStart":1042.2000000178814},{"duration":129,"initiatorType":"xmlhttprequest","name":"https://jira.workterra.net/rest/webResources/1.0/resources","startTime":1512.5,"connectEnd":1512.5,"connectStart":1512.5,"domainLookupEnd":1512.5,"domainLookupStart":1512.5,"fetchStart":1512.5,"redirectEnd":0,"redirectStart":0,"requestStart":1586.300000011921,"responseEnd":1641.5,"responseStart":1640.9000000059605,"secureConnectionStart":1512.5},{"duration":66.5,"initiatorType":"xmlhttprequest","name":"https://jira.workterra.net/rest/webResources/1.0/resources","startTime":1745.300000011921,"connectEnd":1745.300000011921,"connectStart":1745.300000011921,"domainLookupEnd":1745.300000011921,"domainLookupStart":1745.300000011921,"fetchStart":1745.300000011921,"redirectEnd":0,"redirectStart":0,"requestStart":1778.0999999940395,"responseEnd":1811.800000011921,"responseStart":1811.0999999940395,"secureConnectionStart":1745.300000011921}],"threshold":1000,"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":91,"connectEnd":872,"secureConnectionStart":833,"requestStart":895,"responseStart":974,"responseEnd":1027,"domLoading":979,"domInteractive":2178,"domContentLoadedEventStart":2179,"domContentLoadedEventEnd":2280,"domComplete":2743,"loadEventStart":2743,"loadEventEnd":2746,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"e7c71136fad1c6","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":47,"dbReadsTimeInMs":4,"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