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
b7afe5f1
Commit
b7afe5f1
authored
Apr 05, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
b4f4e42b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
wcfs/wcfs.go
wcfs/wcfs.go
+1
-1
wcfs/zblk.go
wcfs/zblk.go
+1
-1
wcfs/δftail.go
wcfs/δftail.go
+1
-3
No files found.
wcfs/wcfs.go
View file @
b7afe5f1
...
...
@@ -1233,7 +1233,7 @@ retry:
atomic
.
AddInt32
(
&
head
.
inflightOSCacheUploads
,
-
1
)
if
bug
{
panic
(
fmt
.
Sprintf
(
"BUG: bigfile %s: blk %d: f.loading mutated while uploading data to pagecache"
,
oid
,
blk
)
)
panic
f
(
"BUG: bigfile %s: blk %d: f.loading mutated while uploading data to pagecache"
,
oid
,
blk
)
}
if
st
==
fuse
.
OK
{
...
...
wcfs/zblk.go
View file @
b7afe5f1
...
...
@@ -325,7 +325,7 @@ func (zb *ZBlk1) loadBlkData(ctx context.Context) ([]byte, zodb.Tid, error) {
})
default
:
panic
(
fmt
.
Sprintf
(
"IOBTree has %s child"
,
typeOf
(
child
)
))
panic
f
(
"IOBTree has %s child"
,
typeOf
(
child
))
}
}
...
...
wcfs/δftail.go
View file @
b7afe5f1
...
...
@@ -21,8 +21,6 @@ package main
// ΔFtail - merge btree.ΔTail with history of ZBlk
import
(
"fmt"
"lab.nexedi.com/kirr/neo/go/zodb"
"lab.nexedi.com/kirr/neo/go/zodb/btree"
...
...
@@ -74,7 +72,7 @@ func (δf *ΔFTail) Update(δZ *zodb.EventCommit) ΔFentry {
for
_
,
δ
:=
range
δB
.
Changev
{
files
:=
δf
.
fileIdx
[
δ
.
Root
]
if
len
(
files
)
==
0
{
panic
(
fmt
.
Sprintf
(
"ΔFTail: root<%s> -> ø file"
,
δ
.
Root
.
POid
()
))
panic
f
(
"ΔFTail: root<%s> -> ø file"
,
δ
.
Root
.
POid
(
))
}
for
file
:=
range
files
{
changev
=
append
(
changev
,
ΔFile
{
...
...
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