Runtime-State and Queue-Processing Validation After Cloud Database Restoration
Main Article Content
Abstract
A restored database can accept connections while workers are still processing messages against the wrong application state. This paper proposes a recovery acceptance procedure that follows one authorized test transaction from application intake through queued work to its durable outcome. It identifies what each checkpoint can establish and when the evidence is insufficient to resume service. The procedure is a design proposal. Its error rate and effect on recovery time remain unmeasured.
Article Details

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
References
[1] D. J. Abadi, “Data Management in the Cloud: Limitations and Opportunities,” IEEE Data Eng. Bull., vol. 32, no. 1, pp. 3–12, 2009, [Online]. Available: https://www.cs.umd.edu/~abadi/papers/abadi-cloud-ieee09.pdf
[2] S. K. Barker, Y. Chi, H. J. Moon, H. Hacigümüş, and P. J. Shenoy, “‘Cut Me Some Slack’: Latency-Aware Live Migration for Databases,” in Proceedings of the 15th International Conference on Extending Database Technology, 2012, pp. 432–443. doi: 10.1145/2247596.2247647.
[3] J. H. Saltzer, D. P. Reed, and D. D. Clark, “End-to-End Arguments in System Design,” ACM Trans. Comput. Syst., vol. 2, no. 4, pp. 277–288, 1984, doi: 10.1145/357401.357402.
[4] Amazon Web Services, “Amazon SQS at-least-once delivery,” Amazon Simple Queue Service Developer Guide. [Online]. Available: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/standard-queues-at-least-once-delivery.html
[5] C. Mohan, D. Haderle, B. Lindsay, H. Pirahesh, and P. Schwarz, “ARIES: a transaction recovery method supporting fine-granularity locking and partial rollbacks using write-ahead logging,” ACM Trans. Database Syst., vol. 17, no. 1, pp. 94–162, 1992, doi: 10.1145/128765.128770.
[6] A. Verbitski et al., “Amazon Aurora: Design Considerations for High Throughput Cloud-Native Relational Databases,” in Proceedings of the 2017 ACM International Conference on Management of Data, 2017, pp. 1041–1052. doi: 10.1145/3035918.3056101.
[7] E. N. Elnozahy, L. Alvisi, Y.-M. Wang, and D. B. Johnson, “A Survey of Rollback-Recovery Protocols in Message-Passing Systems,” ACM Comput. Surv., vol. 34, no. 3, pp. 375–408, 2002, doi: 10.1145/568522.568525.
[8] H. Garcia-Molina and K. Salem, “Sagas,” in Proceedings of the 1987 ACM SIGMOD International Conference on Management of Data, 1987, pp. 249–259. doi: 10.1145/38713.38742.
[9] P. Helland, “Idempotence is not a medical condition,” Commun. ACM, vol. 55, no. 5, pp. 56–65, 2012, doi: 10.1145/2160718.2160734.
[10] J. Kreps, N. Narkhede, and J. Rao, “Kafka: A distributed messaging system for log processing,” in Proceedings of the 6th International Workshop on Networking Meets Databases (NetDB ’11), Athens, Greece, 2011, pp. 1–7.
[11] M. Swanson, P. Bowen, A. W. Phillips, D. Gallup, and D. Lynes, Contingency Planning Guide for Federal Information Systems. NIST Special Publication 800-34 Revision 1, 2010. doi: 10.6028/NIST.SP.800-34r1.