发明名称 Predicting validity of data replication prior to actual replication in a transaction processing system
摘要 A method, computer program product and computer system to validate a write of a replica record to a replica data store in a transaction processing system, the replica record duplicating a source record in a source data store. The transaction processing system obtains a value associated with a record location of the source record in the source data store. The transaction processing system predicts a value associated with a record location of the replica record in the replica data store and responsive to the obtained value associated with the source record location not corresponding to the predicted value associated with the replica record location, not writing the replica record.
申请公布号 US9454590(B2) 申请公布日期 2016.09.27
申请号 US201414165697 申请日期 2014.01.28
申请人 International Business Machines Corporation 发明人 Rinke Ralph A.;Walker Clark W.;Willoughby Austin J.
分类号 G06F17/30 主分类号 G06F17/30
代理机构 代理人 Zwick David;Murray Susan
主权项 1. A method for validating a write of a replica record to a replica data store in a transaction processing system, the replica record duplicating a source record in a source data store, the method comprising: writing, by the transaction processing system, the source record to a location in the source data store; obtaining, by the transaction processing system, the location of the source record in the source data store; predicting, by the transaction processing system, the location in the replica data store to which the replica record will be written, based on the location and length of the previous replica record; responsive to determining that the obtained location of the source record does not correspond to the predicted location of the replica record: not writing the replica record;signaling, to the transaction processing system, a replica record location prediction failure; andending replication; responsive to determining that the obtained location of the source record corresponds to the predicted location of the replica record location, writing, by the transaction processing system, the replica record to a location in the replica data store; and responsive to determining that the obtained location of the source record does not correspond to the location in the replica data store to which the replica record was written, identifying the replica data store as corrupted.
地址 Armonk NY US