Legacy Knowledge Base
Published Sep. 10, 2025

DXP 7.2 Service Pack 1 (SP1) - New Improvements for Data Consistency

Written By

Eric Yan

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Liferay DXP 7.2 Service Pack 1 (SP1) includes changes that further improve data consistency within the Liferay platform.

Highlights:

  • Additional Liferay services now have Multiversion Concurrency Control (MVCC) enabled
  • Changes to support MVCC will not break compatibility with existing code

Multiversion Concurrency Control (MVCC)

MVCC is a concurrency control method that helps provide better data consistency.

Liferay’s MVCC strategy utilizes Hibernate's optimistic locking system to preserve data integrity during concurrent data modifications.

To implement MVCC, an additional column to track versioning was added to some tables in the database. The impacted tables are listed here.

Liferay’s Service Builder allows for services to easily implement MVCC.

Blue-Green Deployment

The MVCC changes that are being implemented fit within our Blue-Green Deployment strategy. Therefore, applying this update should require zero downtime.

Why is this a Minor Version Change

With this update, additional Liferay services now will have MVCC enabled.

In order to support MVCC, new columns were added to some tables in the database. Again, these changes are additive and will not break compatibility with existing code.

Note: MVCC may reveal concurrency bugs in customizations that are using these additional Liferay services. For a list of impacted services and sample code which may guide you toward a resolution please see the following article: A StaleObjectStateException is Thrown When Using a Liferay Service

Database Upgrade Tool

To apply these improvements to your Liferay instance, please refer to our guide on running the Database Upgrade Tool for your 7.2 SP1 update.

Note: After installing this service pack, the Database Upgrade Tool will no longer be needed to apply updates that fit within the Blue-Green deployment strategy.

Did this article resolve your issue ?

Legacy Knowledge Base