Posted: 12 Jan 2016 4:08 EST Last activity: 4 Oct 2018 13:54 EDT
Case locking in Pega 7
I was wondering whether you could help me with the following query around case locking in Pega 7.1.
My initial understanding of locks was that they were indicated by a row in the PR_SYS_LOCKS table. I later discovered via the Pega Help that locking is now handled within the Application Server (for increased performance).
Could you please advise me on whether the row in PR_SYS_LOCKS is also cause a case to remain locked, or whether this is used purely for display purposes?
In addition, where is the default location in the Application Server this lock information is stored?
This is not in response to a defect in our application
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
In 7.1 locks are tracked in two places - table pr_sys_locks and in an in-memory structure on the node that has the requestor that has the lock. The in memory structure is a lock cache - PRPC / BPM engine re-check if your lock is current very often; rather than cut the number of 'rechecks' a cache was created so you can check your own lock without bothering the database.