Commit 2a95e448 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent c64268eb
...@@ -78,8 +78,11 @@ func (d *Storage) Sync(ctx context.Context) (_ zodb.Tid, err error) { ...@@ -78,8 +78,11 @@ func (d *Storage) Sync(ctx context.Context) (_ zodb.Tid, err error) {
}) })
wg.Go(func(ctx context.Context) error { wg.Go(func(ctx context.Context) error {
baseHead, err := d.base.Sync(ctx) baseHead, err := d.base.Sync(ctx)
// XXX baseHead != .baseAt0 -> fail if err != nil {
return err return err
}
// XXX baseHead != .baseAt0 -> fail
return nil
}) })
err = wg.Wait() err = wg.Wait()
......
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