Mercurial > evolve
annotate tests/test-discovery-obshashrange-cache.t @ 4871:a8ff17479fb8
branching: preserve test change on stable
CORE-TEST-OUTPUT-UPDATE: cdf0e9523de1
CORE-TEST-OUTPUT-UPDATE: d7304434390f
CORE-TEST-OUTPUT-UPDATE: 181ee2118a96
CORE-TEST-OUTPUT-UPDATE: 181ee2118a96
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 27 Sep 2019 12:50:19 +0200 |
parents | 015cdd3fa469 |
children | f3e39a354378 cbfd36046969 |
rev | line source |
---|---|
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
1 ============================== |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
2 Test cache warming strategy |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
3 test for range based discovery |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
4 ============================== |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
5 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
6 $ . $TESTDIR/testlib/pythonpath.sh |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
7 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
8 $ cat << EOF >> $HGRCPATH |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
9 > [extensions] |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
10 > hgext3rd.evolve = |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
11 > blackbox = |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
12 > [defaults] |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
13 > blackbox = -l 100 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
14 > [experimental] |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
15 > obshashrange=1 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
16 > verbose-obsolescence-exchange=1 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
17 > [ui] |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
18 > logtemplate = "{rev} {node|short} {desc} {tags}\n" |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
19 > ssh=python "$RUNTESTDIR/dummyssh" |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
20 > [alias] |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
21 > debugobsolete=debugobsolete -d '0 0' |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
22 > [ui] |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
23 > ssh=$PYTHON "$RUNTESTDIR/dummyssh" |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
24 > EOF |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
25 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
26 $ hg init main |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
27 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
28 $ hg -R main debugbuilddag '.+7' |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
29 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
30 $ for node in `hg -R main log -T '{node}\n'`; do |
4267
18ed2a237ab5
tests: fix for POSIX compliance
Martijn Pieters <mj@octobus.net>
parents:
3966
diff
changeset
|
31 > printf $node | grep -o . | sort |tr -d "\n" > ancfile |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
32 > anc=`cat ancfile` |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
33 > rm ancfile |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
34 > echo "marking $anc as predecessors of $node" |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
35 > hg -R main debugobsolete $anc $node |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
36 > done |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
37 marking 000011223334456677789aaaaabbbbcccddddeef as predecessors of 4de32a90b66cd083ebf3c00b41277aa7abca51dd |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
38 1 new obsolescence markers |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
39 marking 012234455555666699aaaaabbbccccccefffffff as predecessors of f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23 |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
40 1 new obsolescence markers |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
41 marking 00001122233445555777778889999abbcccddeef as predecessors of c8d03c1b5e94af74b772900c58259d2e08917735 |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
42 1 new obsolescence markers |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
43 marking 0011222445667777889999aabbbbcddddeeeeeee as predecessors of bebd167eb94d257ace0e814aeb98e6972ed2970d |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
44 1 new obsolescence markers |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
45 marking 000011222223344555566778899aaaabccddefff as predecessors of 2dc09a01254db841290af0538aa52f6f52c776e3 |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
46 1 new obsolescence markers |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
47 marking 01111222223333444455555566999abbbbcceeef as predecessors of 01241442b3c2bf3211e593b549c655ea65b295e3 |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
48 1 new obsolescence markers |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
49 marking 01122444445555566677888aabbcccddddefffff as predecessors of 66f7d451a68b85ed82ff5fcc254daf50c74144bd |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
50 1 new obsolescence markers |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
51 marking 000111111234444467777889999aaaabcdeeeeff as predecessors of 1ea73414a91b0920940797d8fc6a11e447f8ea1e |
4871
a8ff17479fb8
branching: preserve test change on stable
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
4860
diff
changeset
|
52 1 new obsolescence markers |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
53 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
54 $ hg debugobsolete -R main |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
55 000011223334456677789aaaaabbbbcccddddeef 4de32a90b66cd083ebf3c00b41277aa7abca51dd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
56 012234455555666699aaaaabbbccccccefffffff f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
57 00001122233445555777778889999abbcccddeef c8d03c1b5e94af74b772900c58259d2e08917735 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
58 0011222445667777889999aabbbbcddddeeeeeee bebd167eb94d257ace0e814aeb98e6972ed2970d 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
59 000011222223344555566778899aaaabccddefff 2dc09a01254db841290af0538aa52f6f52c776e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
60 01111222223333444455555566999abbbbcceeef 01241442b3c2bf3211e593b549c655ea65b295e3 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
61 01122444445555566677888aabbcccddddefffff 66f7d451a68b85ed82ff5fcc254daf50c74144bd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
62 000111111234444467777889999aaaabcdeeeeff 1ea73414a91b0920940797d8fc6a11e447f8ea1e 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
63 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
64 Cache mode is "auto" so local commit did not warm the cache yet |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
65 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
66 $ f -s main/.hg/cache/evoext* |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
67 main/.hg/cache/evoext-obscache-00: size=72 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
68 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
69 Initial push |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
70 ------------ |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
71 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
72 $ hg init server |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
73 $ hg -R main push ssh://user@dummy/server |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
74 pushing to ssh://user@dummy/server |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
75 searching for changes |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
76 OBSEXC: computing relevant nodes |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
77 OBSEXC: looking for common markers in 8 nodes |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
78 OBSEXC: computing markers relevant to 8 nodes |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
79 remote: adding changesets |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
80 remote: adding manifests |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
81 remote: adding file changes |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
82 remote: added 8 changesets with 0 changes to 0 files |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
83 remote: 8 new obsolescence markers |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
84 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
85 sever cash is warm |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
86 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
87 $ f -s server/.hg/cache/evoext* |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
88 server/.hg/cache/evoext-depthcache-00: size=88 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
89 server/.hg/cache/evoext-firstmerge-00: size=88 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
90 server/.hg/cache/evoext-obscache-00: size=72 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
91 server/.hg/cache/evoext-stablesortcache-00: size=92 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
92 server/.hg/cache/evoext_obshashrange_v2.sqlite: size=?* (glob) |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
93 server/.hg/cache/evoext_stablerange_v2.sqlite: size=?* (glob) |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
94 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
95 client cash is warm |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
96 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
97 $ f -s main/.hg/cache/evoext* |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
98 main/.hg/cache/evoext-depthcache-00: size=88 |
3966
ea7687a9a4b8
obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3965
diff
changeset
|
99 main/.hg/cache/evoext-firstmerge-00: size=88 |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
100 main/.hg/cache/evoext-obscache-00: size=72 |
3966
ea7687a9a4b8
obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3965
diff
changeset
|
101 main/.hg/cache/evoext-stablesortcache-00: size=92 |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
102 main/.hg/cache/evoext_obshashrange_v2.sqlite: size=?* (glob) |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
103 main/.hg/cache/evoext_stablerange_v2.sqlite: size=?* (glob) |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
104 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
105 initial pull |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
106 ------------ |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
107 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
108 $ rm -rf main |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
109 $ hg init main |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
110 $ hg -R main pull ssh://user@dummy/server |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
111 pulling from ssh://user@dummy/server |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
112 requesting all changes |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
113 adding changesets |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
114 adding manifests |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
115 adding file changes |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
116 added 8 changesets with 0 changes to 0 files |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
117 8 new obsolescence markers |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
118 new changesets 1ea73414a91b:4de32a90b66c |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
119 (run 'hg update' to get a working copy) |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
120 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
121 client cache is empty because the discovery was empty |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
122 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
123 $ f -s main/.hg/cache/evoext* |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
124 main/.hg/cache/evoext-obscache-00: size=72 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
125 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
126 no op pull |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
127 ------------ |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
128 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
129 clear cache |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
130 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
131 $ rm -rf main/.hg/cache/evoext |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
132 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
133 pull nothing |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
134 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
135 $ hg -R main pull ssh://user@dummy/server |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
136 pulling from ssh://user@dummy/server |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
137 searching for changes |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
138 no changes found |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
139 OBSEXC: looking for common markers in 8 nodes |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
140 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
141 client cash is warm |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
142 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
143 $ f -s main/.hg/cache/evoext* |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
144 main/.hg/cache/evoext-depthcache-00: size=88 |
3966
ea7687a9a4b8
obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3965
diff
changeset
|
145 main/.hg/cache/evoext-firstmerge-00: size=88 |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
146 main/.hg/cache/evoext-obscache-00: size=72 |
3966
ea7687a9a4b8
obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3965
diff
changeset
|
147 main/.hg/cache/evoext-stablesortcache-00: size=92 |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
148 main/.hg/cache/evoext_obshashrange_v2.sqlite: size=?* (glob) |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
149 main/.hg/cache/evoext_stablerange_v2.sqlite: size=?* (glob) |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
150 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
151 no op push |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
152 ------------ |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
153 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
154 clear cache |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
155 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
156 $ rm -rf main/.hg/cache/evoext |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
157 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
158 push nothing |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
159 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
160 $ hg -R main push ssh://user@dummy/server |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
161 pushing to ssh://user@dummy/server |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
162 searching for changes |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
163 OBSEXC: computing relevant nodes |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
164 OBSEXC: looking for common markers in 8 nodes |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
165 OBSEXC: markers already in sync |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
166 no changes found |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
167 [1] |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
168 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
169 client cash is warm |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
170 |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
171 $ f -s main/.hg/cache/evoext* |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
172 main/.hg/cache/evoext-depthcache-00: size=88 |
3966
ea7687a9a4b8
obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3965
diff
changeset
|
173 main/.hg/cache/evoext-firstmerge-00: size=88 |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
174 main/.hg/cache/evoext-obscache-00: size=72 |
3966
ea7687a9a4b8
obshashrange: force saving of stablesort and firstmerge cache
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
3965
diff
changeset
|
175 main/.hg/cache/evoext-stablesortcache-00: size=92 |
3965
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
176 main/.hg/cache/evoext_obshashrange_v2.sqlite: size=?* (glob) |
d4ae0e3ec743
test: add a test about cache warming
Pierre-Yves David <pierre-yves.david@octobus.net>
parents:
diff
changeset
|
177 main/.hg/cache/evoext_stablerange_v2.sqlite: size=?* (glob) |