comparison tests/test-discovery-obshashrange.t @ 6337:58115cf37211 stable

evolve: make sqlstablerange slightly more tolerant to fs issues (issue6246) It will fall back to memory db when there are problems opening the persistent cache file.
author Anton Shestakov <av6@dwimlabs.net>
date Thu, 01 Dec 2022 16:29:56 +0400
parents dbedbcf30f6b
children a55b9b917a08
comparison
equal deleted inserted replaced
6329:29fb13dcb56c 6337:58115cf37211
196 preparing listkeys for "namespaces" 196 preparing listkeys for "namespaces"
197 sending listkeys command 197 sending listkeys command
198 received listkey for "namespaces": 40 bytes 198 received listkey for "namespaces": 40 bytes
199 OBSEXC: computing relevant nodes 199 OBSEXC: computing relevant nodes
200 OBSEXC: looking for common markers in 6 nodes 200 OBSEXC: looking for common markers in 6 nodes
201 stable-range cache: unable to load, regenerating
201 query 0; add more sample (target 100, current 1) 202 query 0; add more sample (target 100, current 1)
202 query 0; sample size is 9, largest range 5 203 query 0; sample size is 9, largest range 5
203 sending evoext_obshashrange_v1 command 204 sending evoext_obshashrange_v1 command
204 obsdiscovery, 0/5 mismatch - 1 obshashrange queries in *.???? seconds (glob) 205 obsdiscovery, 0/5 mismatch - 1 obshashrange queries in *.???? seconds (glob)
205 OBSEXC: computing markers relevant to 1 nodes 206 OBSEXC: computing markers relevant to 1 nodes
320 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending listkeys command (glob) 321 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending listkeys command (glob)
321 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> received listkey for "phases": 58 bytes (glob) 322 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> received listkey for "phases": 58 bytes (glob)
322 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> preparing listkeys for "namespaces" (glob) 323 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> preparing listkeys for "namespaces" (glob)
323 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending listkeys command (glob) 324 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> sending listkeys command (glob)
324 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> received listkey for "namespaces": 40 bytes (glob) 325 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> received listkey for "namespaces": 40 bytes (glob)
326 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> stable-range cache: unable to load, regenerating (glob)
325 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-depthcache in *.???? seconds (6r) (glob) 327 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-depthcache in *.???? seconds (6r) (glob)
326 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-stablerange-mergepoint in *.???? seconds (6r) (glob) 328 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-stablerange-mergepoint in *.???? seconds (6r) (glob)
327 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (6r, 4o) (glob) 329 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> updated evo-ext-obshashrange in *.???? seconds (6r, 4o) (glob)
328 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> query 0; add more sample (target 100, current 1) (glob) 330 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> query 0; add more sample (target 100, current 1) (glob)
329 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> query 0; sample size is 9, largest range 5 (glob) 331 * @45f8b879de922f6a6e620ba04205730335b6fc7e (*)> query 0; sample size is 9, largest range 5 (glob)
1111 .hg/cache/evoext_stablerange_v2.sqlite 1113 .hg/cache/evoext_stablerange_v2.sqlite
1112 $ rm -f .hg/cache/evoext* 1114 $ rm -f .hg/cache/evoext*
1113 $ ls -1 .hg/cache/ | grep evoext 1115 $ ls -1 .hg/cache/ | grep evoext
1114 [1] 1116 [1]
1115 $ hg debugupdatecache --debug 1117 $ hg debugupdatecache --debug
1118 stable-range cache: unable to load, regenerating
1116 updating the branch cache 1119 updating the branch cache
1117 $ f -s .hg/cache/evoext* 1120 $ f -s .hg/cache/evoext*
1118 .hg/cache/evoext-depthcache-00: size=96 1121 .hg/cache/evoext-depthcache-00: size=96
1119 .hg/cache/evoext-firstmerge-00: size=96 1122 .hg/cache/evoext-firstmerge-00: size=96
1120 .hg/cache/evoext-obscache-00: size=73 1123 .hg/cache/evoext-obscache-00: size=73