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
90abcd03
Commit
90abcd03
authored
Oct 14, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
341cc93b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
wcfs/internal/zdata/δftail.go
wcfs/internal/zdata/δftail.go
+3
-3
No files found.
wcfs/internal/zdata/δftail.go
View file @
90abcd03
...
...
@@ -319,9 +319,9 @@ func (δFtail *ΔFtail) rebuildAll() (err error) {
return
nil
}
// rebuild1IfNeeded rebuilds vδE if there is such need.
// rebuild1IfNeeded rebuilds vδE
for a file
if there is such need.
//
//
it returns corresponding δftail for convenience. XXX
//
It also returns corresponding δftail.root for convenience.
// the only case when vδE actually needs to be rebuilt is when the file just started to be tracked.
//
// XXX naming -> vδEForFile ? vδEBuildIfNeeded?
...
...
@@ -351,7 +351,7 @@ func (δFtail *ΔFtail) rebuild1IfNeeded(foid zodb.Oid) (vδE []_ΔFileEpoch, he
}
// we become responsible to build vδE
//
do the build without the lock
//
release the lock while building
job
=
&
_RebuildJob
{
ready
:
make
(
chan
struct
{})}
δftail
.
rebuildJob
=
job
δFtail
.
trackNew
.
Del
(
foid
)
...
...
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