Commit 96ed5401 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 44f5a726
...@@ -508,6 +508,9 @@ func openClientByURL(ctx context.Context, u *url.URL, opt *zodb.DriverOptions) ( ...@@ -508,6 +508,9 @@ func openClientByURL(ctx context.Context, u *url.URL, opt *zodb.DriverOptions) (
} }
// XXX handle opt.WatchQ // XXX handle opt.WatchQ
if opt.WatchQ != nil {
panic("TODO watchq")
}
// XXX check/use other url fields // XXX check/use other url fields
net := xnet.NetPlain("tcp") // TODO + TLS; not only "tcp" ? net := xnet.NetPlain("tcp") // TODO + TLS; not only "tcp" ?
......
...@@ -311,6 +311,9 @@ func openByURL(ctx context.Context, u *url.URL, opt *zodb.DriverOptions) (_ zodb ...@@ -311,6 +311,9 @@ func openByURL(ctx context.Context, u *url.URL, opt *zodb.DriverOptions) (_ zodb
} }
// XXX handle opt.WatchQ // XXX handle opt.WatchQ
if opt.WatchQ != nil {
panic("TODO watchq")
}
zl, err := dialZLink(ctx, net, addr) // XXX + methodTable zl, err := dialZLink(ctx, net, addr) // XXX + methodTable
if err != nil { if err != nil {
......
...@@ -352,8 +352,6 @@ type Prefetcher interface { ...@@ -352,8 +352,6 @@ type Prefetcher interface {
} }
// IStorageDriver is the raw interface provided by ZODB storage drivers. // IStorageDriver is the raw interface provided by ZODB storage drivers.
//
// A storage driver is created by DriverOpener
type IStorageDriver interface { type IStorageDriver interface {
// URL returns URL of how the storage was opened // URL returns URL of how the storage was opened
URL() string URL() string
...@@ -368,7 +366,11 @@ type IStorageDriver interface { ...@@ -368,7 +366,11 @@ type IStorageDriver interface {
Loader Loader
Iterator Iterator
/*
// A storage driver also delivers database change events to watchq
// channel, which is passed to it when the driver is created.
/* XXX kill
Watcher Watcher
// Notifier returns storage driver notifier. // Notifier returns storage driver notifier.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment