摘要:
A system for managing locks that give permission to access resources in a computer system is disclosed. The lock management system is distributed and provides deadlock protection. The lock management system is distributed in that information about which locks have been granted for a resource is stored at both a master node and at the nodes on which are located processes that desire to access to the resource. A master resource object located on the master node grants locks to shadow resource objects located on the nodes on which are located the processes that desire to access the resource. Each shadow resource object grants locks on the resource to the processes that are located on the same node as the shadow resource object. According to an aspect of the invention, the master resource object stores data indicating what is knows about a shadow resource object. The master node increments a sequence number when the master resource object changes what is knows about the shadow resource object. The master resource object transmits the sequence number in messages it sends to the shadow resource object. A shadow resource object maintains master knowledge data indicating what the master resource object knows about the shadow resource object. The sequence number is used to determine whether what the master resource object knows about the shadow resource object is current.
摘要:
A system for managing locks that give permission to access resources in a computer system is disclosed. The lock management system is distributed and provides deadlock protection. The lock management system is distributed in that information about which locks have been granted for a resource is stored at both a master node and at the nodes on which are located processes that desire to access to the resource. A master resource object located on the master node grants locks to shadow resource objects located on the nodes on which are located the processes that desire to access the resource. Each shadow resource object grants locks on the resource to the processes that are located on the same node as the shadow resource object. The master resource object includes a convert queue used to maintain a list of convert requests made by various processes. The lock request for shadow resource objects are granted when the lock request is at the head of the convert queue. When granting the second lock request, other lock requests in the queue from shadow resource objects are granted if they are compatible with the locks granted by the master resource object.
摘要:
A system for managing locks that give permission to access resources in a computer system is disclosed. The lock management system is distributed and provides deadlock protection. The lock management system is distributed in that information about which locks have been granted for a resource is stored at both a master node and at the nodes on which are located processes that desire to access to the resource. A master resource object located on the master node grants locks to shadow resource objects located on the nodes on which are located the processes that desire to access the resource. Each shadow resource object grants locks on the resource to the processes that are located on the same node as the shadow resource object. The shadow resource object includes a convert queue used to maintain a list of convert requests made by various processes. The lock request for the process is granted when the lock request is at the head of the convert queue. When granting the first lock request, other lock requests in the queue are granted if they are compatible with the locks granted by the shadow resource object.
摘要:
A system for managing locks that give permission to access resources in a computer system is disclosed. The lock management system is distributed and provides deadlock protection. The lock management system is distributed in that information about which locks have been granted for a resource is stored at both a master node and at the nodes on which are located processes that desire to access to the resource. A master resource object located on the master node grants locks to shadow resource objects located on the nodes on which are located the processes that desire to access the resource. Each shadow resource object grants locks on the resource to the processes that are located on the same node as the shadow resource object. The master resource object includes a convert queue used to maintain a list of convert requests made by the shadow resource objects on the various other nodes. The convert request at the head of the global convert queue is the “head convert request”. Information about the head convert request is propagated to the shadow resource objects in the system. The head convert request is a factor used by shadow resource objects to determine whether the shadow resource object may grant a lock convert request.
摘要:
A system for managing locks that give permission to access resources in a computer system are disclosed. The lock management system is distributed and provides deadlock protection. The lock management system is distributed in that information about which locks have been granted for a resource is stored at both a master node and at the nodes on which are located processes that desire to access to the resource. A master resource object located on the master node grants locks to shadow resource objects located on the nodes on which are located the processes that desire to access the resource. Each shadow resource object grants locks on the resource to the processes that are located on the same node as the shadow resource object. A shadow resource object may retain a lock on a resource even when no process on the same node requires the shadow resource to retain the lock. Whether a shadow resource retains a lock under these circumstances depends on conditions in the system, including whether most processes accessing the resource reside on the same node as the shadow resource.
摘要:
A system for managing locks that give permission to access resources in a computer system are disclosed. The lock management system is distributed and provides deadlock protection. The lock management system is distributed in that information about which locks have been granted for a resource is stored at both a master node and at the nodes on which are located processes that desire to access to the resource. A master resource object located on the master node grants locks to shadow resource objects located on the nodes on which are located the processes that desire to access the resource. Each shadow resource object grants locks on the resource to the processes that are located on the same node as the shadow resource object. Each shadow lock holds lock information that is used to detect deadlocks. The information may be used to generate bipartite directed graphs that include nodes representing resources and nodes representing transactions.
摘要:
The lock management system disclosed is distributed i.e. information about which locks have been granted for a resource is stored at both a master node and at the nodes on which are located processes that desire access to the resource. A master resource object grants locks to shadow resource objects located on the nodes. Each shadow resource object grants locks on the resource to processes that are located on the same node as the shadow resource object. Data stored in the same node of a shadow resource object indicates what information the shadow resource object has sent to the master object. The information includes what lock mode is held by a shadow resource object and what lock mode is currently desired by the shadow resource lock. The shadow resource object transmits both information and requests to the master resource object based on the data stored in the same node of a shadow resource object.
摘要:
A method and system for managing locks that give permission to access resources in a computer system are disclosed. The lock management system is distributed and provides deadlock protection. The lock management system is distributed in that information about which locks have been granted for a resource is stored at both a master node and at the nodes on which are located the processes that desired to access the resource. A master resource object located on the master node grants locks to shadow resource objects located on the nodes on which are located the processes that desire to access the resource. Each shadow resource object grants locks on the resource to the processes that are located on the same node as the shadow resource object. The lock owned by the shadow resource object determines the types of locks the shadow resource object is allowed to grant to processes. If the lock owned by a shadow resource object does not give the shadow resource object the right to grant a lock requested by a process, then the shadow resource object requests for a lock upgrade from the master resource object. Because the processes that use a resource do not have to communicate directly with the master resource object, the amount of inter-node traffic required by the distributed lock management system is less than that required by centralized, non-distributed lock management systems.
摘要:
The present invention is a method and apparatus for storyboard scripting of instructions within a software application program. More specifically, the present invention provides for an organized storyboard of logic flows for navigating a visitor through a World Wide Web site. By organizing the commands in discrete parallel logic flows, future editing of the system can be easily performed.
摘要:
Every node in a multi-node parallel database system maintains a logical clock for generating timestamps. The logical clocks are synchronized by attaching a current timestamp to every message that is sent by a node. When a node receives an incoming timestamp that is greater than the value indicated by the associated logical clock, it sets the associated logical clock forward to at least the value of the timestamp. Each node continually sends and receives a message including a timestamp at least once in a prescribed period of time. Moreover, each node maintains a high watermark that represents a time greater or equal to the highest time of any logical clock in the multi-node parallel database system.