Skip to Main Content
IBM Data and AI Ideas Portal for Customers


This portal is to open public enhancement requests against products and services offered by the IBM Data & AI organization. To view all of your ideas submitted to IBM, create and manage groups of Ideas, or create an idea explicitly set to be either visible by all (public) or visible only to you and IBM (private), use the IBM Unified Ideas Portal (https://ideas.ibm.com).


Shape the future of IBM!

We invite you to shape the future of IBM, including product roadmaps, by submitting ideas that matter to you the most. Here's how it works:


Search existing ideas

Start by searching and reviewing ideas and requests to enhance a product or service. Take a look at ideas others have posted, and add a comment, vote, or subscribe to updates on them if they matter to you. If you can't find what you are looking for,


Post your ideas

Post ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea


Specific links you will want to bookmark for future use

Welcome to the IBM Ideas Portal (https://www.ibm.com/ideas) - Use this site to find out additional information and details about the IBM Ideas process and statuses.

IBM Unified Ideas Portal (https://ideas.ibm.com) - Use this site to view all of your ideas, create new ideas for any IBM product, or search for ideas across all of IBM.

ideasibm@us.ibm.com - Use this email to suggest enhancements to the Ideas process or request help from IBM for submitting your Ideas.

IBM Employees should enter Ideas at https://ideas.ibm.com


Status Delivered
Workspace Product Master
Created by Guest
Created on Dec 4, 2018

Need functionality to avoid lost update in jobs

Product: MDMCE 11.5.0 - Scheduler - Import jobs
See: Case TS001386519

The client is reporting "lost update" situations when 2 parallel jobs are processing updates to the catalog. This can happen when 2 jobs read an item before any of them has done a save (which would acquire a lock on the item). When one of the jobs saves the item and terminates (which releases the lock) the other job can then also save the item and overwrite any of the changes the first job has done (since only the changes on the initially read item are persisted). The risk of such "lost update" situations is even bigger with a settig of release_locks_early=true since then the locks are already released immediately after saving the item.
Example:
- job A reads item I1
- job B reads item I1
- job A changes item to I11
- job B changes item to I12
- job A persists item I11 and terminates
- job B persists item I12, overwriting I11.

This could be avoided by providing functionality to actively control locking, exactly how it is offered by a "reserve" functionality for users working concurrently:
- API for reserving an item by its primary key for the current job
(could return "false" if the item is locked by another process)
- API for releasing a lock for an item by its primary key for the current job

(Another option could be an "optimistic" schema: Every item object could hold a hidden timestamp which is compared at save-time to the currently persisted item. If the timestamps don't match then a concurrent update has been done in the meantime, making the memory item object stale. In this case the persisting would throw an exception and avoid overwriting an update).