Skip to content

Commit

Permalink
Update any-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
mcrakhman committed Jun 20, 2024
1 parent 838920b commit 81aeaad
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 28 deletions.
2 changes: 0 additions & 2 deletions cmd/any-sync-node.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import (
"github.com/anyproto/any-sync-node/nodehead"
"github.com/anyproto/any-sync-node/nodespace/peermanager"
"github.com/anyproto/any-sync-node/nodespace/spacedeleter"
"github.com/anyproto/any-sync-node/nodespace/statusprovider"
"github.com/anyproto/any-sync-node/nodesync"
"github.com/anyproto/any-sync-node/nodesync/coldsync"
"github.com/anyproto/any-sync-node/nodesync/hotsync"
Expand Down Expand Up @@ -119,7 +118,6 @@ func Bootstrap(a *app.App) {
a.Register(account.New()).
Register(metric.New()).
Register(debugstat.New()).
Register(statusprovider.New()).
Register(credentialprovider.NewNoOp()).
Register(coordinatorclient.New()).
Register(nodeconfstore.New()).
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ toolchain go1.22.1
require (
github.com/ahmetb/govvv v0.3.0
github.com/akrylysov/pogreb v0.10.2
github.com/anyproto/any-sync v0.4.21-0.20240618201426-fd27cf8650cf
github.com/anyproto/any-sync v0.4.22-0.20240620093745-88c12436a698
github.com/anyproto/go-chash v0.1.0
github.com/gogo/protobuf v1.3.2
github.com/prometheus/client_golang v1.19.1
Expand Down
4 changes: 4 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ github.com/akrylysov/pogreb v0.10.2 h1:e6PxmeyEhWyi2AKOBIJzAEi4HkiC+lKyCocRGlnDi
github.com/akrylysov/pogreb v0.10.2/go.mod h1:pNs6QmpQ1UlTJKDezuRWmaqkgUE2TuU0YTWyqJZ7+lI=
github.com/anyproto/any-sync v0.4.21-0.20240618201426-fd27cf8650cf h1:+YeKvR4JHR62yVD3isckSBPJR+h9i8IjJBpOS9f/6Gk=
github.com/anyproto/any-sync v0.4.21-0.20240618201426-fd27cf8650cf/go.mod h1:sO/zUrmnCZKnH/3KaRH3JQSZMuINS3X7ZJa+d4YgfkA=
github.com/anyproto/any-sync v0.4.22-0.20240619120401-bf1e446332cc h1:6RGLPWeVJZCGTXMyI6MrgERBesAd60RJglu8fEMPfY0=
github.com/anyproto/any-sync v0.4.22-0.20240619120401-bf1e446332cc/go.mod h1:sO/zUrmnCZKnH/3KaRH3JQSZMuINS3X7ZJa+d4YgfkA=
github.com/anyproto/any-sync v0.4.22-0.20240620093745-88c12436a698 h1:7LJcR2tA/dV7RTpDXEV2Bwo9P00O6CYWkUaKL2WipYw=
github.com/anyproto/any-sync v0.4.22-0.20240620093745-88c12436a698/go.mod h1:sO/zUrmnCZKnH/3KaRH3JQSZMuINS3X7ZJa+d4YgfkA=
github.com/anyproto/go-chash v0.1.0 h1:I9meTPjXFRfXZHRJzjOHC/XF7Q5vzysKkiT/grsogXY=
github.com/anyproto/go-chash v0.1.0/go.mod h1:0UjNQi3PDazP0fINpFYu6VKhuna+W/V+1vpXHAfNgLY=
github.com/anyproto/go-slip10 v1.0.0 h1:uAEtSuudR3jJBOfkOXf3bErxVoxbuKwdoJN55M1i6IA=
Expand Down
2 changes: 2 additions & 0 deletions nodespace/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"github.com/anyproto/any-sync/commonspace/config"
"github.com/anyproto/any-sync/commonspace/spacestorage"
"github.com/anyproto/any-sync/commonspace/spacesyncproto"
"github.com/anyproto/any-sync/commonspace/syncstatus"
"github.com/anyproto/any-sync/consensus/consensusclient"
"github.com/anyproto/any-sync/coordinator/coordinatorclient"
"github.com/anyproto/any-sync/metric"
Expand Down Expand Up @@ -112,6 +113,7 @@ func (s *service) loadSpace(ctx context.Context, id string) (value ocache.Object
cc, err := s.commonSpace.NewSpace(ctx, id, commonspace.Deps{
TreeSyncer: treesyncer.New(id),
StreamOpener: &streamOpener{spaceId: id},
SyncStatus: syncstatus.NewNoOpSyncStatus(),
})
if err != nil {
return
Expand Down
25 changes: 0 additions & 25 deletions nodespace/statusprovider/statusprovider.go

This file was deleted.

0 comments on commit 81aeaad

Please sign in to comment.