×

Methods and systems for moving data using locks

  • US 7,693,881 B2
  • Filed: 09/04/2003
  • Issued: 04/06/2010
  • Est. Priority Date: 09/09/2002
  • Status: Active Grant
First Claim
Patent Images

1. A method for moving data objects in a computer system from a first storage location to a second storage location, the method comprising:

  • selecting a data object from the first storage location;

    determining whether an identifier (ID) of the data object is stored in a transactional lock object, the ID comprising one or more key fields of the data object;

    when the ID is not stored in the transactional lock object, storing the ID in the transactional lock object, indicating that an action is being performed on the data object;

    determining whether the ID is stored in a permanent lock object;

    when the ID is not stored in the permanent lock object, storing the ID in the permanent lock object, indicating that the data object is subject to a moving process;

    deleting the ID from the transactional lock object after storing the ID in the permanent lock object;

    storing a copy of the data object at the second storage location;

    determining whether the copy of the data object is successfully stored at the second storage location; and

    when the copy of the data object is successfully stored at the second storage location;

    assigning the copy of the data object stored at the second storage location to the ID in the permanent lock object;

    deleting the data object from the first storage location; and

    deleting the ID from the permanent lock object after deleting the data object from the first storage location.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×