Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
neo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Kirill Smelkov
neo
Commits
64d3132a
Commit
64d3132a
authored
6 years ago
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
ca095828
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
go/zodb/db.go
go/zodb/db.go
+1
-1
go/zodb/open.go
go/zodb/open.go
+3
-0
No files found.
go/zodb/db.go
View file @
64d3132a
...
...
@@ -55,7 +55,7 @@ type DB struct {
δtail
ΔTail
// [](rev↑, []oid)
// openers waiting for δtail.Head to become covering their at.
δwait
map
[
δwaiter
]
struct
{}
// set
(at, ready)
δwait
map
[
δwaiter
]
struct
{}
// set
{(at, ready)}
}
// δwaiter represents someone waiting for δtail.Head to become ≥ at.
...
...
This diff is collapsed.
Click to expand it.
go/zodb/open.go
View file @
64d3132a
...
...
@@ -205,6 +205,9 @@ func (s *storage) watcher() {
return
}
// XXX verify event.Tid ↑ (else e.g. δtail.Append will panic)
// if !↑ - stop the storage with error.
// deliver event to all watchers
for
watchq
:=
range
s
.
watchTab
{
watchq
<-
event
...
...
This diff is collapsed.
Click to expand it.
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