[mapguide-trac] #1623: Non-transactional package loading

MapGuide Open Source trac_mapguide at osgeo.org
Wed Mar 9 02:47:35 EST 2011


#1623: Non-transactional package loading
---------------------------+------------------------------------------------
   Reporter:  jng          |       Owner:  jng        
       Type:  enhancement  |      Status:  new        
   Priority:  medium       |   Milestone:  Maestro-4.0
  Component:  Maestro      |     Version:  2.1.0      
   Severity:  major        |    Keywords:             
External_id:               |  
---------------------------+------------------------------------------------
 The current APPLYRESOURCEPACKAGE mapagent call is transactional. It will
 either wholly succeed or wholly fail. The problem with this is:

  * It may take a very long time (esp. with large package files) to
 determine if it succeeded or failed.
  * http timeout can raise a false positive result.
  * Sometimes we just want to load as much as we can from the package
  * There is no way to measure progress

 Because the APPLYRESOURCEPACKAGE is just a wrapper around the basic
 SETRESOURCE and SETRESOURCEDATA calls, we can replicate this functionality
 with existing resource service APIs, and we get measurable progress as
 well through this approach. However because this is non-transactional, it
 can partially fail. As long we can log which resources failed to load and
 which resource data items failed to load, it is an acceptable compromise.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1623>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list