Skip to content

Resource Table locks on a static protective flag #646

@ctsims

Description

@ctsims

There are a few places in the code where CommCare is pretty sloppy with using static locks.

I just fixed one here:
https://github.com/dimagi/commcare-core/pull/645/files#diff-a5c25a223fdbfdb01034706e5380d1c4L29

which was preventing multiple nodeset lookups from happening simultaneously

I think it may be the case that this one:

protected final static Object updateLock = new Object();

Is a huge source of "silent" concurrent locking for formplayer.

The implication of this would be that while using formplayer, only one web request would be able to be manipulating the state of an app at any time.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions