![]() The view_id forms an identifier for the view from three parts: view_type, which always gives a value of 3 to indicate the primary view and the view_uuid and view_seq together form a unique value for the identifier. View Information provides information on the node’s view of the Primary Component, contained between the #vwbeg and #vwend tags. Node Information provides the node’s UUID, in the my_uuid field. The gvwstate.dat file is composed of two parts. If the cluster continues after the node has shutdown (i.e., there are other nodes that did not shutdown), one of the remaining nodes will become the host to the Primary Component and will create the gvwstate.dat file on its file system.īelow is an example of the contents of the gvwstate.dat file: If the node shuts down gracefully, it deletes the file. If the node loses connectivity, it has the file to reference. This ensures that the node retains the latest Primary Component state that it was in. The node creates and updates this file when the cluster forms or changes the Primary Component. You’ll find this file in the database data directory on the server which is acting as the Primary Component. When a node stores the Primary Component state to disk, it saves it as the gvwstate.dat file. Understanding the Primary Component State By default, it’s enabled starting in version 3.6. If the write-set position differs between the nodes, the recovery process also requires a full state snapshot transfer.įor more information on this feature, see the pc.recovery parameter. ![]() In the event of an outage, once all nodes that were part of the last saved state achieve connectivity, the cluster recovers the Primary Component. The node records the state of the Primary Component and the UUID’s of the nodes connected to it. Cluster nodes can store the Primary Component state to disk.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |