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
2
Merge Requests
2
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
0fc00c67
Commit
0fc00c67
authored
Feb 19, 2021
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
63cd388d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
go/neo/storage/storage.go
go/neo/storage/storage.go
+2
-2
No files found.
go/neo/storage/storage.go
View file @
0fc00c67
...
@@ -32,9 +32,9 @@ import (
...
@@ -32,9 +32,9 @@ import (
"lab.nexedi.com/kirr/neo/go/zodb"
"lab.nexedi.com/kirr/neo/go/zodb"
)
)
// Backend is the interface for
actual storage service
that is used by neo.Storage node.
// Backend is the interface for
storage backend
that is used by neo.Storage node.
//
//
//
XXX ok to reuse zodb.OpError for errors? or better it should be storage.OpError?
//
Backend methods should return zodb errors where appropriate.
type
Backend
interface
{
type
Backend
interface
{
// LastTid should return the ID of the last committed transaction.
// LastTid should return the ID of the last committed transaction.
LastTid
(
ctx
context
.
Context
)
(
zodb
.
Tid
,
error
)
LastTid
(
ctx
context
.
Context
)
(
zodb
.
Tid
,
error
)
...
...
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