chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yong Liang Li" <>
Subject A better way to add/remove hold in CMIS 1.1?
Date Wed, 03 Feb 2016 08:26:13 GMT

Hi all,

In the current CMIS 1.1 spec, hold is supported by secondary type.
Specifically, the user can add/remove ids from cmis:hold.rm_holdIds to
add/remove holds. There are two major issues here.
   a) The user need to firstly retrieve out the whole hold list before the
   user can add/remove hold. The list might be a big one depends on
   business needs. In CMIS server side implementation, we need to firstly
   retrieve out this list from content server and compare it to the list in
   the update request. So that we get to know which one should be
   added/removed. Even though there is no change in this list, we still
   need to do the retrieve and compare practice in each checkin. This will
   not perform well.
   b) May result in inconsistences in consequent updates. For example, user
   A is trying to add a hold, so it pass the original list plus the one
   that it wants to add hold. Now user B wants to add another hold. If user
   B's original list had been retrieved out before user A completed the
   update, then user A's update will be overwritten by user B's update,

So, I wonder whether there is a better way to add/remove holds without
going through the retrieve and compare logic in an update(checkin). Thanks
in advance!

Best Regards,

Mike Li(李永亮)
IBM Content Manager RM Development
Tel:(86-10)82453403 Fax:(86-10)58851920 Tie-line: 905-3403
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message