Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion content/en/docs/refguide/runtime/optimistic-locking.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ beta: true
## Introduction

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@akkrishnakumar

We still need to say that this was introduced in 11.5.0, for customers who are using earlier 11.x versions.
When was it made GA? I can't see anything in the release notes. We need to add something there since 11.5 says it is in public beta.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understand.

Which means in 12, we can remove this ?

I found this in the release notes of 11.5

Optimistic Locking
We made optimistic locking publicly available as a beta feature. This allows apps to safeguard against concurrent modifications. It can be enabled in the Runtime tab of the App Settings dialog box. Enabling this feature gives each entity an extra system attribute (MxObjectVersion of type Long). Its behavior will be automatically handled by the system. For more information, see Optimistic Locking.

I'll add the details

{{% alert color="info" %}}
This feature is available in Beta starting with Mendix version 11.5.0.
This feature is Generally Available starting with Mendix version 11.11.0.
This feature was available as Beta since Mendix version 11.5.0.
{{% /alert %}}

Optimistic locking is a strategy used in concurrent systems to prevent lost updates when multiple users or processes try to modify the same piece of data at the same time. Instead of locking the data immediately, and preventing other users from accessing it, optimistic locking allows multiple users to read, and potentially modify, the same data concurrently. In optimistic locking, the assumption is that conflicts are rare, so it checks for conflicts only at the very last moment, when an update is attempted.
Expand Down