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
c414f1a3
Commit
c414f1a3
authored
Jul 15, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
5a7a7ff9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
wcfs/internal/zdata/δftail.go
wcfs/internal/zdata/δftail.go
+4
-1
No files found.
wcfs/internal/zdata/δftail.go
View file @
c414f1a3
...
...
@@ -99,8 +99,10 @@ type _ΔFileTail struct {
// _ΔFileEpoch represent change to ZBigFile object.
type
_ΔFileEpoch
struct
{
Rev
zodb
.
Tid
newRoot
zodb
.
Oid
// .blktab was changed to point to newRoot ; VDEL if ZBigFile deleted
oldRoot
zodb
.
Oid
// .blktab was pointing to oldRoot before ; VDEL if ZBigFile deleted
newRoot
zodb
.
Oid
// .blktab was changed to point to newRoot ; ----//----
newBlkSize
int64
// .blksize was changed to newBlkSize ; -1 if ZBigFile deleted
// XXX +oldBlkSize ?
}
// zblkTrack keeps information in which root/blocks ZBlk is present as of @head.
...
...
@@ -310,6 +312,7 @@ func (δFtail *ΔFtail) Update(δZ *zodb.EventCommit) (_ ΔF, err error) {
δzfile
[
oid
]
=
δ
δftail
.
vδE
=
append
(
δftail
.
vδE
,
_ΔFileEpoch
{
Rev
:
δZ
.
Tid
,
oldRoot
:
δ
.
blktabOld
,
newRoot
:
δ
.
blktabNew
,
newBlkSize
:
δ
.
blksizeNew
,
})
...
...
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