Issue 10555: Can a CacheAccess::refresh() throw an AlreadyClonedInWriteMode exception? (data-distribution-rtf) Source: OCI (Mr. Donald Busch, busch_d(at)ociweb.com) Nature: Uncategorized Issue Severity: Summary: Can a CacheAccess::refresh() throw an AlreadyClonedInWriteMode exception? Suppose an object is cloned into a writable CacheAccess with scope=RELATED_OBJECTS and some depth >1. Now, suppose object2, which is unrelated, is cloned into a different writable CacheAccess. Then, suppose incoming updates cause object and object2 to be related, where a subsequent CacheAccess::refresh() would pull object2 into the first writable CacheAccess. But, wait, it's already in the other writable CacheAccess. Does that cause an exception on the refresh()? Resolution: Revised Text: Actions taken: December 22, 2006: received issue Discussion: End of Annotations:===== il-OSG: 030zEkkVM1mxcWIUd1_cDQ8_DjZFrrii9.4IZIaJfnuCr6ZvqcxWOHgao6Dt5Tddc.TNHjCNTrb_xVr4plCDYr8A1AGQEpwpWaj84KLraAhV7q2U.plVlCtFFEVUBcL1fdjX.ffy2STSwNw- Date: Fri, 22 Dec 2006 17:09:51 -0600 From: Don Busch User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) To: issues@omg.org Subject: DDS 06-04-09, DLRL Issue: Can a CacheAccess::refresh() throw an AlreadyClonedInWriteMode exception? Can a CacheAccess::refresh() throw an AlreadyClonedInWriteMode exception? Suppose an object is cloned into a writable CacheAccess with scope=RELATED_OBJECTS and some depth >1. Now, suppose object2, which is unrelated, is cloned into a different writable CacheAccess. Then, suppose incoming updates cause object and object2 to be related, where a subsequent CacheAccess::refresh() would pull object2 into the first writable CacheAccess. But, wait, it's already in the other writable CacheAccess. Does that cause an exception on the refresh()? -Don Busch -- ---------------------------------------------------------------- Don Busch, Principal Software Engineer and Partner Object Computing, Inc. (OCI) http://www.ociweb.com http://www.theaceorb.com http://jacorb.ociweb.com "Never let what you can't do get in the way of what you can do." - John Wooden ----------------------------------------------------------------