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
c2d31c88
Commit
c2d31c88
authored
Jun 24, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
21149d88
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
wcfs/δbtail.go
wcfs/δbtail.go
+2
-2
No files found.
wcfs/δbtail.go
View file @
c2d31c88
...
@@ -332,6 +332,7 @@ func (δBtail *ΔBtail) Track(ctx context.Context, key Key, keyPresent bool, pat
...
@@ -332,6 +332,7 @@ func (δBtail *ΔBtail) Track(ctx context.Context, key Key, keyPresent bool, pat
}
}
}
}
/* XXX kill
// tracked += all keys of leaf bucket for every node up to the root
// tracked += all keys of leaf bucket for every node up to the root
fmt.Printf(" oldTrack: %v leafBucket: %v\n", oldTrack, leafBucket)
fmt.Printf(" oldTrack: %v leafBucket: %v\n", oldTrack, leafBucket)
if !oldTrack && leafBucket != nil {
if !oldTrack && leafBucket != nil {
...
@@ -356,7 +357,6 @@ func (δBtail *ΔBtail) Track(ctx context.Context, key Key, keyPresent bool, pat
...
@@ -356,7 +357,6 @@ func (δBtail *ΔBtail) Track(ctx context.Context, key Key, keyPresent bool, pat
leafBucket = treeRoot.Entryv()[0].Child().(*Bucket) // because it is recreated
leafBucket = treeRoot.Entryv()[0].Child().(*Bucket) // because it is recreated
}
}
/*
bkeys := SetKey{}
bkeys := SetKey{}
for _, __ := range leafBucket.Entryv() {
for _, __ := range leafBucket.Entryv() {
bkeys.Add(__.Key())
bkeys.Add(__.Key())
...
@@ -370,8 +370,8 @@ func (δBtail *ΔBtail) Track(ctx context.Context, key Key, keyPresent bool, pat
...
@@ -370,8 +370,8 @@ func (δBtail *ΔBtail) Track(ctx context.Context, key Key, keyPresent bool, pat
}
}
track = δBtail.trackIdx[track.parent]
track = δBtail.trackIdx[track.parent]
}
}
*/
}
}
*/
_
,
ok
:=
δBtail
.
byRoot
[
root
]
_
,
ok
:=
δBtail
.
byRoot
[
root
]
...
...
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