Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
5d032fcc
Commit
5d032fcc
authored
May 11, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
180b0713
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
wcfs/δbtail_test.go
wcfs/δbtail_test.go
+4
-4
No files found.
wcfs/δbtail_test.go
View file @
5d032fcc
...
...
@@ -523,7 +523,7 @@ func xzgetBlkDataAt(db *zodb.DB, zblkOid zodb.Oid, at zodb.Tid) string {
}
// KAdjMatrix is adjacency matrix that describes how set of tracked keys
// changes when tree topology is updated from A to B.
// changes
(always grow)
when tree topology is updated from A to B.
//
// Adjacency matrix
//
...
...
@@ -922,7 +922,7 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
/*trackNew=*/
t1
.
xkv
.
trackIdx
(
keys1
),
// after rebuild
/*trackIdx=*/
t1
.
xkv
.
trackIdx
(
keys1
),
/*trackIdx=*/
t1
.
xkv
.
trackIdx
(
keys1
_0
),
/*vδT=*/
δkv1_1
)
t
.
Run
((
" →"
+
t2
.
tree
),
func
(
t
*
testing
.
T
)
{
...
...
@@ -963,11 +963,11 @@ func xverifyΔBTail_rebuild(t *testing.T, db *zodb.DB, treeRoot zodb.Oid, t0, t1
// after Track(keys2)
keys2
,
// FIXME vvv trackNew should not cover ranges that are already in trackIdx
/*trackIdx*/
t2
.
xkv
.
trackIdx
(
keys1_
2
),
/*trackIdx*/
t2
.
xkv
.
trackIdx
(
keys1_
0
.
Union
(
keys1_2
)
),
/*trackNew*/
t2
.
xkv
.
trackIdx
(
keys2
),
// after rebuild
/* trackIdx=*/
t2
.
xkv
.
trackIdx
(
keys1
_2
.
Union
(
keys2
)
),
/* trackIdx=*/
t2
.
xkv
.
trackIdx
(
keys1
2_0
),
/*vδT=*/
δkv1_2
,
δkv2_2
)
// })
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment