1. A method comprising: reading a first copy of a primary data set in a primary memory location; storing the first copy in a first memory location; setting a first validity flag to indicate that the first copy is valid; reading a second copy of the primary data set in the primary memory location; storing the second copy in a second memory location; setting a second validity flag to indicate that the second copy is valid; modifying the first copy; setting the second validity flag to indicate that the second copy is invalid after modifying the first copy; replacing the primary data set with the modified first copy after the modifying of the first copy and before the setting of the second validity flag to indicate that the second copy is invalid; replacing the second copy with the primary data set after the setting of the second validity flag to indicate that the second copy is invalid; setting the second validity flag to indicate that the second copy is valid after replacing the second copy with the primary data set; creating a first index corresponding to the first copy, wherein the first index is stored in a fourth memory location, wherein the first index is created after reading the first copy from the primary data set, and wherein the first index comprises a first field comprising a description of a copy of the data for which the first index was created; and a second field comprising a memory location for a validity flag for the copy of the data set for which the first index was created; and creating a second index corresponding to the second copy, wherein the second index is stored in the fourth memory location, wherein the second index is created after reading the second copy from the primary data set, and wherein the second index comprises a first field comprising a description of a copy of the data for which the second index was created; and a second field comprising a memory location for a validity flag for the copy of the data set for which the second index was created.