Patent Document

RELATED APPLICATION 
     This application is related to a co-pending application by the same inventors entitled &#34;Merging Database Log Files Through Log Transformations,&#34; pending U.S. application Ser. No. 08/870,991, filed Jun. 6, 1997. 
     BACKGROUND OF THE INVENTION 
     1. Field of the Invention 
     This invention is related to computers and computer systems, and in particular to database management systems (DBMS). 
     2. Description of the Related Art 
     A database management system keeps track of changes made to a database during its lifetime. These changes are called &#34;transactions&#34; and each transaction is made up of operations such as insert, update, and delete. The operations are recorded in a &#34;log file&#34; in the order in which the operations are performed in the system. This log file may contain entries of operations performed from the time the database was created or from the time the database was last backed up until the present. 
     With the increasing emphasis in the database community on historical data, data warehousing, and updating remote or warehouse copies of a database, there is a need to develop a global log file that, when applied to a copy of a database, recreates the results of changes to the original database. As part of that task, it is necessary to first reconstruct the original order of transactions. For serial database systems, the transaction order can easily be inferred by examining the log files for each transaction; creating a global log file in that case is trivial. However, in parallel or distributed database systems, which consist of nodes each of which performs a part of a transaction, creating a global log file is much more complex. In such systems, after all the nodes have finished processing their parts of the transaction, the results are put together to complete the transaction. Each node has its own log file associated with it, often called a &#34;local log file,&#34; in which all of the operations performed by the node are recorded in the order completed. On a &#34;share-nothing&#34; model of a parallel or distributed database system, each node operates on a partition of the database; the problem of constructing a global transaction order is especially complex in this case because any data item in the database belongs to exactly one partition and thus to exactly one node. FIG. 1 depicts the architecture of a share-nothing parallel database system in which the network 9 is made up of processing nodes 1,2,3,4 each respectively associated with partitions 5,6,7,8. 
     In order to better regulate the management of data, parallel or distributed database systems often operate under two protocols. The first is a &#34;two-phase commit protocol,&#34; involving a transaction coordinator on some node and transaction participants on that node and others, in which each participant signals to the coordinator when the participant has completed its part of the transaction (first phase), and the coordinator signals to the participants whether the transaction should be executed or not (second phase). Specifically, the coordinator decides on which nodes lie the data items needed to complete the transaction and assigns a participant on each node to complete the operations necessary for each node. When each participant completes its part of the transaction, it sends a &#34;vote&#34; to the coordinator telling the coordinator that it has completed its work and requesting the coordinator to decide whether it should commit to the work it has done. After the coordinator receives a vote from all of the participants, it sends either a &#34;commit&#34; or an &#34;abort&#34; to each participant. The participants then commit to or abort their part of the transaction accordingly. For any transaction i, V i  denotes its vote operation and C i  denotes its commit operation. For these types of database systems, the local log files record the votes, commits, and aborts as well as the inserts, updates, and deletes. Thus, the two-phase commit protocol requires that in any node, the vote for a transaction will necessarily precede that transaction&#39;s commit or abort. 
     The second protocol under which these database systems operate is a &#34;strict two-phase locking protocol&#34; which controls and locks resources needed to complete database transactions. In general, a locking protocol requires the DBMS to lock resources needed to complete a transaction so that only that transaction can access the resources at any one time. A &#34;two-phase locking protocol,&#34; consisting of a &#34;locking phase&#34; and a &#34;releasing phase,&#34; restricts the acquisition and release of locks in such a way that all the locks must first be acquired for the transaction before any lock is released, and, once a lock is released, no other locks can be acquired for that transaction. A more stringent requirement results in the &#34;strict two-phase locking protocol&#34; where all the locks must first be acquired for the transaction and no locks are released until the commit or abort is processed for that transaction. In a sharenothing model of a parallel or distributed database system, each node independently abides by the strict two-phase locking protocol and thus requires that when two transactions i and j need to access the same resources on that node, the transaction that acquires the locks first will be committed to or aborted before the other transaction. Thus, if transaction i acquires the locks first, in the log file for that node the commit or the abort of i will precede the commit or abort of j. 
     In constructing a global transaction order, a set of transactions can be arranged into a &#34;serialization order&#34; which can either be a total order (a sequence relating any two transactions in the set) or a partial order (a sequence in which some transactions may be related to others but not necessarily). The term &#34;serialization order&#34; can also be used to describe the order in which two transactions i and j appear in the total or partial order. Related to &#34;serialization order&#34; is a &#34;serialization requirement&#34; which takes effect when a DBMS performs its operations so that it is only meaningful to view one transaction as preceding another. This requirement is related to the strict two-phase locking protocol described above in that if two transactions need to access a common data item, the database system will grant the lock to the data item first to one transaction and then to the other. In such a case there is a &#34;serialization requirement&#34; between the two transactions that &#34;requires&#34; the transaction that acquired the lock first to be ordered before the other transaction. Finally, each log file has a &#34;serialization implication&#34; which is made up of information regarding the serialization requirement carried by the system. This information includes the records of the sequence and type of operations performed on its associated node, together with the semantics of the system in which the operations are executed. 
     The combination of all the local log files in the system reflects the history of the entire database. In constructing a global order at some later time, only the local log files exist. The most obvious solutions to this delayed ordering problem are to examine either the timestamp information for each transaction or the data items accessed by each transaction, information that may be recorded in the local log files. However, in practice these methods do not work very well because global timestamps are not always available in every DBMS and examining data items accessed by each transaction involves too many log entries and a complex analysis. 
     In situations such as these when timestamp information or information relating to each data item is not available, one method used to construct a global order is to examine the order of commit entries in the local log files. However, the commit entries alone do not provide enough information for constructing a global transaction order. In a parallel or distributed database system, a database node records its commit entries in its log file in the order it processes them, not in the order imposed by the system serialization requirement. Thus, for two transactions i and j whose commit entries are recorded in the same local log file, it is possible that (1) i must be serialized before j; (2) j must be serialized before i; or (3) no serialization requirement exists between i and j. In addition, the commit entries of two transactions have several properties that may lead to an ambiguous ordering. First, the order of two commit entries in the log file does not necessarily imply their serialization requirement because the commit entry of one transaction may precede that of another in some log file simply because it is processed earlier than the other, and the two transactions may not access any common data item at all. Second, two different log files may record the commit entries of the same two transactions in different orders. Thus, examining the positions of commit entries in the log files alone does not provide enough information to construct a global serialization order. 
     This lack of information creates local log files that are often ambiguous, and it is difficult to infer a global order merely by examining the order of the individual commit operations in each local log file. Up to now there been no method to construct a global order from local log files where the construction is performed some time after the log files have been created and can be completed on the full log file in one pass-through. 
     SUMMARY OF THE INVENTION 
     In a parallel or distributed database system, the present invention constructs a global transaction order by examining the relative pattern of vote symbols, V i , and commit symbols, C i , in the local log files, and enforcing an ordering of &#34;transaction i before transaction j&#34; when there is a &#34;relative pattern&#34; of C i  -V j  -C j  in some local log file. A &#34;relative pattern&#34; of a sequence of symbols, in this case C i  -V j  -C j , only means that V j  comes somewhere between Ci and C j  in the sequence. It does not mean C i  is the symbol immediately preceding V j  or that V j  immediately precedes C j . The present invention first creates a network of the different local log files, L 1 , L 2 , etc., by connecting C 1  in L 1  to the C 1  &#39;s in the other local log files, then C 2  in L 1  to the C 2  &#39;s in other local log files, and then the other C 1  &#39;s in a similar manner. Next, the method resolves ambiguities in the local log files called &#34;commit symbol cycles&#34; by employing a novel submethod called &#34;commit symbol sliding. &#34; After each cycle is resolved, the method merges the network into one sequence. 
     The basic mechanism used to construct a global transaction order is as follows. Given a set of local log files, for any two transactions i and j recorded in any log file, the pattern C i  -V j  -C j  requires i to be ordered beforej in the global transaction order. This method works correctly because it has the following properties: 
     1. If C i  -V j  -C j  appears in one local log file, C j  -V i  -C i  will never appear in any other local log file. Thus, the order previously determined will never have to change. 
     2. If the system has a serialization requirement of i before j, then there is a relative pattern of C i  -V j  -C j  in at least one local log file. 
     3. If there is a relative pattern C i  -V j  -C j  in some local log files, then either the serialization requirement between transactions i and j is i before j, or there is no serialization requirement at all. In either case, it is safe to order i before j. 
     These properties lead to the following conclusions. First, given a set of local log files, if after examining the relative patterns of the vote and commit entries in some local log file the pattern C i  -V j  -C j  appears, their order is recorded as i beforej in the global order. Second, if in a local log file any pattern other than C i  -V j  -C j  appears, this information is disregarded. Thus using commit symbols as the main marker of the ordering information, their positions in local log files are adjusted as necessary until every pair of transactions has the same order of commit symbols in all local log files in which they appear. Then the local log files are easily merged to produce a global order. 
     The present invention is novel because it constructs a global transaction order by (1) examining only the relative positions of the vote and commit operations of committed transactions, ignoring operations associated with aborted transactions; (2) examining only each vote or commit symbol&#39;s transaction ID, not any other information regarding the data items recorded in the log entries; and (3) only reading each local log file once, which makes the construction very efficient. In the process, several concepts are developed for identifying commit symbol cycles and their components, &#34;supported&#34; and &#34;unsupported&#34; segments, and then for resolving these cycles. 
     Because the present invention looks at limited types of operations, it is easily compatible with existing database systems. The method also incurs very little overhead in constructing the order and supports the construction of both total and partial global transaction orders. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     FIG. 1 shows the architecture of a share-nothing parallel database system; 
     FIG. 2a is a flow chart showing the outline of the main transaction order construction process; 
     FIG. 2b shows an example of two connected local log files after performing the first step of FIG. 2a; 
     FIG. 3a is a flow chart showing the steps of the preferred embodiment of the network merging process used by the main process described in FIG. 2a; 
     FIG. 3b shows two local log files ready to be merged at a merge point according to several steps of FIG. 3a; 
     FIG. 3c shows the same two local log files shown in FIG. 3b after merging to a merge point; 
     FIG. 3d shows the same two local log files shown in FIGS. 3b and 3c after merging to a second merge point constituting traversal of both local log files; 
     FIG. 4a shows an example of a commit symbol cycle between two connected local log files; 
     FIG. 4b shows the same two local log files as shown in FIG. 4a with a broken segment; 
     FIG. 4c shows the same two local log files as shown in FIGS. 4a and 4b after the commit symbol cycle is resolved; 
     FIG. 5 is a flow chart showing the steps taken to resolve a commit symbol cycle; 
     FIG. 6 illustrates an indirectly supported segment. 
    
    
     DETAILED DESCRIPTION OF THE INVENTION 
     FIG. 2a is a flow chart showing the outline of the main transaction order construction process. The first step 210 creates a network of local log files by connecting the files to each other. This is done by identifying commit symbols, Ci, of the same transaction appearing in multiple log files L 1 , L 2 , . . . , L k . These C i  &#39;s are then connected together and their confluence designates a &#34;merge point&#34; merging log files L 1 , L 2 , . . . ,Lk. A two-local-log file system is depicted in FIG. 2b showing the merge points of the system defined by L 1  20a and L 2  20b. The merge point of C i  consists of commit symbols 21 and 25, and the merge point of C j  consists of commit symbols 23 and 25 (the blank symbols in the figure denote other operations such as votes or commits from other transactions). Next, step 220 encompasses traversing the log files, resolving commit symbol cycles, and merging the network into a sequence. This step is further described below. 
     FIG. 3a is a flow chart showing the steps of the network merging process outlined in step 220. A first embodiment of this process (not shown) first traverses all the log files to their ends, resolving commit symbol ambiguities, and then, in another pass-through, merges the unambiguous log files into one sequence. A preferred embodiment both resolves the ambiguities and merges the log files while traversing the log files, thus constructing the order in one pass-through. (Because the first embodiment is less efficient and its functions are subsumed in those of the preferred embodiment, it is not discussed further.) Each local log file has a &#34;current traversal point,&#34; initially set to the beginning of the log file, and the log files are traversed in the direction from the beginning of the log file to the end. Associated with each local log file is a &#34;wait list&#34; in which the log file stores information as to which other local log files are connected to it in the network. Each wait list is initially empty. 
     The first step 310 takes an arbitrary log file L k  with an empty wait list and advances the current traversal point until a merge point C m  is encountered. When that happens, the next step 320 records into the wait list of L k  all the other log files merged at that merge point (each log file is denoted (L n , C m )). FIG. 3b shows two connected local log files L 1  30a and L 2  30b and illustrates these two steps 310, 320. Letting L 1  30a be the initial arbitrary log file, both local log files initially having empty wait lists, L 1  30a is traversed until a merge point consisting of C i  31 in L 1  30a and C i  37 in L 2  30b is encountered. Thus, (L 2 , C i ) is recorded in the wait list of L 1  30a. 
     The next steps 330, 335, 345 involve merging the log files that mutually appear in each other&#39;s wait lists at a given merge point C m . Step 330 examines the wait lists of the log files that appear in the wait list of L 1  30a. Because only (L 2 , C i ) appears in that wait list, and the wait list of L 2  30 b  is initially empty and has not yet been filled, step 330 returns &#34;NO&#34; and the process continues to step 350 to determine if all of the log files have been traversed. If so, the process is complete and proceeds to the end 360. If not, the process in step 370 looks for any other log file whose wait list is still empty. 
     In the case illustrated in FIG. 3b, the wait list of L 2  30b is still empty. Thus the process returns to the first step 310 and L 2  30b is traversed until the merge point C i  37 in L 2  30b and C i  31 in L 1  30a is encountered. Step 320 records (L 1 , C i ) in the wait list of L 2  30b. Now, step 330 returns &#34;YES&#34; because (L 1 , C i ) and (L 2 , C i ) mutually appear in each other&#39;s wait list associated with the same merge point. 
     The next step 335 deletes the names of the log files from the wait lists of the log files that mutually appear in each other&#39;s wait lists. Thus, (L 2 , C i ) is removed from the wait list of L 1  30a and (L 1 , C i ) is removed from the wait list of L 2  30b. Because these log file wait lists only contained the other log file, both wait lists are now empty and the process continues. The next step 345 merges the log files connected to the merge point into a sequence up to the merge point and the merging process is fairly straightforward. The vote and commit symbols of these log files are arranged by arbitrarily interleaving them so long as the relative orders in their original log files are not violated. FIG. 3c illustrates the result of the merge. Now only one combined log file L 30c appears up to and including the merge point C i  36. The rest of the log files L 1  30a and L 2  30b remain intact; there is still a relative pattern in L 1  30a of symbols 32-33-35, there is still a relative pattern in L 2  30b of symbols 34-39, and the connection between similar commit symbols C j  35 in L 1  30a and C j  39 in L 2  30b remains intact. After deleting the logs from the wait lists and merging the log files up to the merge point, the process continues in step 350 to see whether all log files have been completely traversed. 
     From C i  36 the process continues, repeating the previous steps on L 1  30a and L 2  30b, and the traversal encounters a merge point consisting of C j  35 in L 1  30a and C j  39 in L 2  30b. This results in the picture in FIG. 3d where the two log files L 1  30a and L 2  30b are merged to the merge point C j  38 which is the end of both log files. Thus step 350 returns &#34;YES&#34; and the process ends there with one log file L 30c remaining. 
     FIG. 4a illustrates a final possibility in the merging process--a commit symbol cycle. Commit symbol cycles occur when different local log files imply different orders of the same two (or more) transactions. Commit symbol cycles are formally defined as follows: 
     Given a set of local log files, if there exist some commit symbols C 1 , C 2 , . . . ,C n-1 , C n  such that relative patterns C 1  -C 2 , C 2  -C 3 , . . . , C n-1  -C n  exist in some local log files, and C 1  =C n , we say that there is &#34;commit symbol cycle&#34; or simply a &#34;cycle&#34; consisting of C 1 , C 2 , . . . , C n-1 . Each of C k  -C k+1 , for 1≦k ≦n-1 is called a &#34;segment&#34; of the cycle. 
     As before, initially the wait lists of L 1  40a and L 2  40b are empty. After choosing an arbitrary log file, say L 1  40a, step 310 traverses it until encountering a merge point, in this case C i  41 and C i  49. Step 320 records (L 2 , C i ) in the wait list of L 1  40a, steps 330 and 350 both return &#34;NO, &#34; and step 370 returns &#34;YES&#34; and the process continues with step 310 to traverse L 2  40b until encountering merge point C j  47 and C j  45. Step 320 records (L 1 , C j ) in the wait list of L 2  40b. Although L 1  40a and L 2  40b appear in each other&#39;s wait lists, the wait lists are not associated with the same merge point--the merge point on L 1  40a is C i  and the merge point on L 2  40b is C j . Thus, step 330 again returns &#34;NO.&#34; Because both L 1  40a and L 2  40b have not been traversed to the end, step 350 also returns &#34;NO.&#34; 
     However, both log files have wait lists, so step 370 returns &#34;YES,&#34; and step 380 is satisfied--when the traversal of logs is stalled because there is no empty wait list, at least one commit symbol cycle has occurred. Note that for the log files involved in a cycle, they must all stop at a different merge point. In addition to the possibility shown in FIG. 4a involving two log files, a commit symbol cycle will occur, for example, in a three (or more) log file system if L a  appears in the wait list of L b , L 1  appears in the wait list of L c , and L c  appears in the wait list of L a . 
     When a commit symbol cycle occurs, step 390 resolves the cycle by adjusting the position of commit symbols in at least one of the log files so that a consistent order of transactions is maintained. FIG. 5 is the flow chart showing the commit symbol cycle resolution process. The first step 510 in resolving a commit symbol cycle is to identify all of the segments in the cycle. FIG. 4a illustrates a two-segment commit symbol cycle where C i  -C j  41-45 in L 1  40a forms one segment of the cycle and C i  -C i  47-49 in L 2  40b forms the other segment. 
     The next step 520 in the resolution process is to find which of the segments is &#34;unsupported. &#34; This step requires two related concepts to be defined: &#34;directly supported&#34; and &#34;indirectly supported.&#34; First, a segment C i  -C j  of a cycle in a local log file is &#34;directly supported&#34; by the serialization implication of the local log file if relative pattern C i  -V j  -C j  exists in the log file, i.e. If V j  comes somewhere between C i  and C j . In FIG. 4a, because there is a pattern of C i  -V j  -C j  41-43-45 in L 1  40a, the segment C i  -C j  41-45 is a &#34;directly supported&#34; segment. 
     Second, a segment C i  -C j  of a cycle in a local log file is &#34;indirectly supported&#34; by the serialization implication of the local log file if relative patterns C i  -V i+1  -C i+1 ,C i+1  -V i+2  -C i+2 , . . . ,C i+k-1  -V i+k  -C i+k , where C i+k  32 C j  exist in some log files, i.e. If via a series of directly supported segments across some log files, V j  comes somewhere between C i  and C j . An example of an indirectly supported segment is shown in FIG. 6. At first glance, segment C i  -C k  67-68 on L 3  60c appears unsupported because there is no vote symbol between the two commit symbols. However, there is a path of directly supported segments across log files L 1  60c, L 2  60b, and L 1  60a that show that C i  -C k  67-68 is indirectly supported. This path begins with C i  67 on L 3  60c and continues to C i  -V j  -C j  64-65-66 on L 2  60b because of the matching C i . Operation C j  66 then connects with the pattern C j  -V k  -C k  61-62-63 on L 1  60a. Because C k  63 on L 1  60a is the same operation as C k  68 on L 3  60c, the segment C i  -C k  67-68 on L 1  60c is indirectly supported. 
     These definitions lead to the definition of an &#34;unsupported segment&#34; as a segment that is neither directly nor indirectly supported. In FIG. 4a, neither of the two segments is &#34;indirectly supported.&#34; Because only C i  -C j  41-45 is &#34;directly supported, &#34; segment C j  -C i  47-49 must therefore be &#34;unsupported.&#34; 
     Generally, in a two-segment cycle between two log files L 1  and L 2 , where the segment in L 1  is C i  -C j  and the segment in L 2  is C j  -C i , only one of the following cases can be true: 
     Case 1: There is a pattern C i  -V j  C j  in L 1 , and the segment in L 2  is unsupported. In such a case, the serialization implication is i before j. 
     Case 2: There is a pattern C j  -V i  -C i  in L 2 , and the segment in L 1  is unsupported. In such a case, the serialization implication is j before i. 
     Case 3: Neither pattern occurs, and both segments are unsupported. This means Vi and V j  come before both of their respective commits, C i  and C j , in both log files. In such a case, no serialization requirement is implied. 
     FIG. 4a depicts Case 1 and thus i must come before j in the global order. Thus the symbols in L 2  40b must be rearranged somehow to achieve that result. 
     Once an unsupported segment is found, step 530 &#34;breaks&#34; that segment. FIG. 4b depicts the line joining segment C j  -C i  47-49 as broken. In order to resolve the commit symbol cycle, the position of the commit symbols on the unsupported segment must be adjusted so that a global transaction order is maintained. This adjustment is done by a novel technique called &#34;sliding,&#34; described in step 540. 
     When sliding symbols, it is possible that the serialization implication of a local log file will be increased or decreased. If so, several principles must be followed. First, the serialization implication of the local log file should be changed as little as possible. Second, if a piece of serialization implication is created in a local log file, it must already exist in some other local log file. Third, if a piece of serialization implication is deleted from a local log file, it must still exist in some other local log file. 
     Symbols are adjusted using the following rules. First, within any local log file, the order of any two adjacent commit symbols (or two adjacent vote symbols) can be freely switched as necessary without changing the serialization implication of the log file. It was shown above that the serialization implication between two transactions i andj on any log file L is carried only by the pattern V j  -C i  -V j  -C j  or V j  -C j  -V i  -C i , so switching two adjacent commit (or vote) symbols can neither create nor destroy such a pattern. 
     Second, within all local log files the order of any two nonadjacent commit symbols is never switched. Switching the order of a vote symbol and a commit symbol without altering the serialization requirement implied by the local log file will either create or destroy a serialization implication. In either case, the serialization implication of the log file is changed. 
     Given these rules, sliding of symbols is relatively straightforward. In the two-segment cycle example given above, in Case I where in L 1  there is a pattern C i  -V j  -C j  and the segment in L 2  is unsupported, C i  is slid backward in L 2  to the position immediately before C j . After the adjustment, L 2  will have the pattern C i  -C j , and no votes will fall between C i  and C j . This case is illustrated in FIGS. 4b-4c where L 1  40a has a pattern C i  -V j  -C j  41-43-45 and the segment C j  -C i  47-49 in L 2  40b is unsupported. Thus, in L 2  40b C j  -C i  47-49 is broken and the more forward commit symbol, C i  49, is slid backward to the position immediately before Ci 47. FIG. 4c shows the resulting local log files after sliding. Analogously, in Case 2 above where L 2  contains the pattern C j  -V i  -C i  and the segment in L 1  is unsupported, in L 1  C j  is slid backward to the position immediately before C i . 
     In Case 3 above where neither pattern occurs in either local log file and both segments are unsupported, either segment can be broken and its forwardmost commit symbol slid backward to a position immediately prior to the other commit symbol. Note that in all three cases, commit symbols only slide backward. 
     The sliding action above can be shown not to violate the principles stated above for adjusting commit symbols. In the action of sliding a commit symbol C i  to the position immediately before another commit C j , C i  may slide past the symbols of three kinds of transactions. First are transactions whose commit symbols but not vote symbols lie between the original positions of C j  and C i . Second are transactions whose vote symbols but not commit symbols lie between the original positions of C j  and C i . Third are transactions both whose vote symbols and commit symbols lie between the original positions of C j  and C i . 
     The first situation does not change the serialization implication of the log files because of the rule that adjacent commit symbols can be freely switched. Thus, by a series of switches C i  can be slid past the commit symbols of the first kind of transactions without changing the serialization implication of the log file at all. 
     The second and third situations do change the serialization implication on the local log file on which the commit symbol is slid. However, these new serialization implications already exist in at least one local log file in the set of given log files. Consider local log file L x  with C i  -V j  -C j  and local log file L y  and a transaction k whose vote symbol falls between C j  and C i  before the slide (i.e. the relative pattern in L y  is C j  -V k  -C i ). Sliding C i  past V k  will create a relative pattern C i  -V k  -C k  on L y  (because of the two-phase commit protocol, V k  is always before C k ) which seems to create a new serialization requirement i before k. However, because the pattern C j  -V k  exists in L y  before sliding, the serialization requirements before k exists, and because C i  -V j  -C j  exists in L x , a serialization requirement of i beforej exists. These two serialization requirements, i before j and j before k, together imply i before k. Thus the seemingly newly created serialization implication of L 2  has already existed in the set of log files before the slide operation. 
     This leads to a conclusion that the action of backward sliding a commit symbol does not delete any serialization implication. This is so because a serialization implication can be deleted only if a commit symbol that precedes a vote symbol is moved to a position after the vote. This is possible only if the commit symbol is moved forward. 
     The above example involved a two-segment commit symbol cycle. Similarly, a multi-segment cycle is resolved by breaking one of the unsupported segments and sliding the more forward commit symbol backward to a position immediately before the earlier commit symbol of the unsupported segment. 
     After the commit symbol cycle is resolved, step 550 adjusts the current traversal point back to the commit symbol that was just slid. Thus, in FIG. 4c, the current traversal point of L 2  40b is C i  49. Finally, step 560 returns to the main merging process. In FIG. 3a, this means a return to step 320 to record (L 1 , C i ) in the wait list of L 2  40b at current traversal point C i  49. Now, because (L 1 , C i ) appears in the wait list of L 2  40b and (L 2 , C i ) appears in the wait list of L 1  40a, these two local log files can be merged up to the merge point, as was earlier shown in FIGS. 3b-3c. 
     While several embodiments have been illustrated and described, other variations and alternate embodiments will occur to those skilled in the art. These variations and embodiments remain within the spirit and scope of this invention.

Technology Category: y