发明名称 MECHANISM FOR SAFE AND REVERSIBLE ROLLING UPGRADES
摘要 Methods, systems, and computer storage media for updating instances of a service application within nodes of a data center are provided. The system includes a state machine equipped for designating an earlier version of software running on some instances as a basement version and a newer version of software running on other instances as a latest version. The system also includes a compatibility mechanism responsible for allowing the basement version, the latest version, and other versions of the service application therebetween to interact using a data structure associated within the earlier version, or lowest common version of the service application. The compatibility mechanism is located apart from core logic of the service application. The activities of the state machine and the compatibility mechanism allow the instances to communicate with each other (using the lowest common version) while exposing just the validated version(s) of the service application to the client.
申请公布号 US2014282469(A1) 申请公布日期 2014.09.18
申请号 US201313928871 申请日期 2013.06.27
申请人 MICROSOFT CORPORATION 发明人 JOHNSON JAMES E.;IRUN-BRIZ LUIS
分类号 G06F9/445 主分类号 G06F9/445
代理机构 代理人
主权项 1. One or more computer storage media having computer-executable instructions embodied thereon that, when executed, perform a method for performing an upgrade to a service application that is transparently reversible to a client of a cloud-computing infrastructure, the method comprising: receiving instructions to upgrade the service application running on top of the cloud-computing infrastructure, wherein the service application includes core logic for carrying out core operations and supportive code that is distinct from the core logic; maintaining a first set of role instances at an earlier first version of the service application, wherein the role instances respectively represent a replication of at least one role, which resembles a component program that supports particular functional aspects of the service application; designating the first version as a basement version within a state machine; upgrading a second set of role instances to a newer second version of the service application; designating the second version as a latest version, wherein a compatibility mechanism located in a subset of the supportive code is responsible for allowing the basement version, the latest version, and other versions of the service application therebetween to interact, and wherein the upgrade of the second set of role instances to the second version is transparent to the client.
地址 Redmond WA US