Lines Matching refs:version
13 # TEST The "version database" identifies the current live
14 # TEST version, the database against which queries are made.
15 # TEST For example, the version database might say the current
16 # TEST version is 3, and queries would then be sent to db.3.
17 # TEST Version 4 is prepared for use while version 3 is in use.
18 # TEST When version 4 is complete, the version database is updated
19 # TEST to point to version 4 so queries can be directed there.
43 puts "Rep$tnum ($method): Replication with version\
122 puts "\tRep$tnum.a: Initialize version database."
123 # Set up variables so we cycle through version numbers 1
125 set vname "version.db"
126 set version 0
132 # The version db is always btree.
135 error_check_good init_version [$vdb put VERSION $version] 0
140 # from the current official version.
147 # simulating a failure), announce the new version, process
149 set version 1
153 set dbname "db.$version"
155 puts "\tRep$tnum.c.$i: Removing old version $version."
160 puts "\tRep$tnum.c.$i: Set up query database $version."
179 # Announce new version.
180 puts "\tRep$tnum.d.$i: Announce new version $version."
183 error_check_good update_version [$vdb put VERSION $version] 0
201 incr version
202 if { $version > $maxversion } {
203 set version 1