Opened 14 years ago
Closed 13 years ago
#1623 closed enhancement (fixed)
Non-transactional package loading
Reported by: | jng | Owned by: | jng |
---|---|---|---|
Priority: | medium | Milestone: | Maestro-4.0 |
Component: | Maestro | Version: | 2.1.0 |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description
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.
Fixed r6136