[fdo-internals] RE: FDO RFC 61 ready for review

Dan Stoica dan.stoica at autodesk.com
Tue May 24 22:07:06 EDT 2011


Hi Sam,

My point is that the proposed API alllows for an a arbitrary number of save points. Meaning the user needs to keep track of them. And no, “release save point” is not necessary since I assume RollBack() is doing this.

Please let me understand: a collection of save points is actually a stack, right? If so then once the user rolls back to the save point #N (where N is the index in the stack) then all the save points with a higher number are dissolved. Therefore I believe a method to get the remaining save points is necessary. 

Thanks,
Dan.
________________________________________
From: fdo-internals-bounces at lists.osgeo.org [fdo-internals-bounces at lists.osgeo.org] on behalf of Sam Wang [Sam.Wang at autodesk.com]
Sent: Tuesday, May 24, 2011 6:44 PM
To: FDO Internals Mail List
Subject: [fdo-internals] RE: FDO RFC 61 ready for review

Hi Dan,

If you look into the RFC you will find that there is already an API proposed to roll back to a save point : FdoITransaction::RollBack(FdoString* savePointName). Do you mean that should be additional API to do something like “release save point” ?

Thanks,
Sam

From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Dan Stoica
Sent: Tuesday, May 24, 2011 10:59 PM
To: FDO Internals Mail List
Subject: [fdo-internals] RE: FDO RFC 61 ready for review

Hi,

Shouldn’t the API include a method to get back all the added save points? This would allow to programmatically rollback to a save point, I think.

Thanks,
Dan.

From: fdo-internals-bounces at lists.osgeo.org [mailto:fdo-internals-bounces at lists.osgeo.org] On Behalf Of Sam Wang
Sent: Sunday, May 22, 2011 9:42 PM
To: fdo-internals at lists.osgeo.org
Subject: [fdo-internals] FDO RFC 61 ready for review

Hi experts,

FDO RFC 61 is now ready for review. You can find it at http://trac.osgeo.org/fdo/wiki/FDORfc61

Thanks,
Sam


More information about the fdo-internals mailing list