Ticket #140 (closed task: fixed)

Opened 3 months ago

Last modified 2 months ago

Backup/Restore for XA 1.1 Data Pool

Reported by: pag Assigned to: pag
Priority: major Milestone: XA 1.1 Data Pool
Component: Mulgara Version: 2.1.0
Keywords: Data Pool, String Pool, gNode Cc:

Description

Backup/Restore are not supported for the XA 1.1 data pool.

The problem is that the existing implementation dictates the node numbers to be used by the store, while XA 1.1 must assign these numbers.

The solution is to allow the store to assign gNodes, but to map these to the requested gNodes using an IntFile. Then during the statement loading phase the nodes being read from the backup file can be looked up in the IntFile to discover that actual nodes that were stored.

So that the XA 1 and XA 1.1 data (string) pools can both be used, a new interface should be attached to the XAStringPool interface that maps backup gNodes to internal gNodes. The XA 1 implementation will be an identity mapping, while the XA 1.1 implementation will use the IntFile approach just described.

Note that this approach is not efficient for XA 1.1 backup/restore. A new backup format should be created for this.

Change History

10/14/08 21:00:24 changed by pag

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in r1289