FHIR Chat · Deadlock using SQL Server · implementers

Stream: implementers

Topic: Deadlock using SQL Server


view this post on Zulip Pooja Gupta (Apr 28 2020 at 12:29):

Hello, I recently started using FHIR server and was trying to ingest 10 resources in a bundle, Number of Users = 5, Loop count = 10 thru Jmeter and started seeing DeadlockAcquisitionException on the console.. on analyzing further deadlock was happening on HFJ_Forced_ID table where it checks if the ResourceType + Forced_ID already exists or not. If not, then it marks the resources for creation.

All my resources, in the bundle, use PUT method and use its own ID (logical identifier).
Had gone thru the Google Group as well, and it was suggested to use READ_UNCOMMITTED isolation level. Just wondering if any other way out exists?

Any help/suggestions/feedback.

view this post on Zulip Grahame Grieve (Apr 28 2020 at 12:36):

which server is that?

view this post on Zulip Pooja Gupta (Apr 28 2020 at 12:37):

HAPI FHIR JPA Server and DB = SQL Server

view this post on Zulip Pooja Gupta (Apr 28 2020 at 12:39):

deadlock.png

view this post on Zulip Pooja Gupta (Apr 28 2020 at 12:44):

https://groups.google.com/forum/#!msg/hapi-fhir/lLuRnQZoaU8/0hl9Qg7WAgAJ
Same issue is captured here as well.

view this post on Zulip Grahame Grieve (Apr 28 2020 at 12:53):

you should probably ask on the hapi support forum then

view this post on Zulip Pooja Gupta (Apr 28 2020 at 13:01):

sure.. looks like i am at the wrong place then.. thanks

view this post on Zulip Grahame Grieve (Apr 28 2020 at 13:03):

fraid so


Last updated: Apr 12 2022 at 19:14 UTC