Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boostd start-up panic when IndexProvider.Enable == false #1602

Closed
8 of 12 tasks
f8-ptrk opened this issue Aug 2, 2023 · 1 comment · Fixed by #1604
Closed
8 of 12 tasks

boostd start-up panic when IndexProvider.Enable == false #1602

f8-ptrk opened this issue Aug 2, 2023 · 1 comment · Fixed by #1604
Labels

Comments

@f8-ptrk
Copy link
Contributor

f8-ptrk commented Aug 2, 2023

Checklist

  • This is not a question or a support request. If you have any boost related questions, please ask in the discussion forum.
  • This is not a new feature request. If it is, please file a feature request instead.
  • This is not an enhancement request. If it is, please file a improvement suggestion instead.
  • I have searched on the issue tracker and the discussion forum, and there is no existing related issue or discussion.
  • I am running the Latest release, or the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
  • I did not make any code changes to boost.

Boost component

  • boost daemon - storage providers
  • boost client
  • boost UI
  • boost data-transfer
  • boost index-provider
  • Other

Boost Version

boostd version 1.7.3+git.188d5f0

Describe the Bug

with IndexProvider.Enable == false boostd fails to start and panics

Logging Information

Contract deals monitor is currently disabled. Update config.toml if you want to enable it.
panic: interface conversion: provider.Interface is *indexprovider.DisabledIndexProvider, not *engine.Engine

goroutine 1 [running]:
github.com/filecoin-project/boost/node/modules.SetLinkSystem(0x0?, {0x67dfb20?, 0x8f45a00?})
	/opt//build/boost/node/modules/graphsync.go:72 +0x6b
reflect.Value.call({0x4e9ac20?, 0x648c870?, 0x67fdd90?}, {0x547781f, 0x4}, {0xc00dca8c90, 0x2, 0x0?})
	/opt//build-tools/go/src/reflect/value.go:586 +0xb0b
reflect.Value.Call({0x4e9ac20?, 0x648c870?, 0x2?}, {0xc00dca8c90?, 0xc0012e0110?, 0xc00dca8c90?})
	/opt//build-tools/go/src/reflect/value.go:370 +0xbc
go.uber.org/dig.defaultInvoker({0x4e9ac20?, 0x648c870?, 0xc0012e0100?}, {0xc00dca8c90?, 0x2?, 0x67f2fc0?})
	/opt//build-tools/.go/pkg/mod/go.uber.org/[email protected]/container.go:220 +0x28
go.uber.org/dig.(*Scope).Invoke(0xc000c606e0, {0x4e9ac20?, 0x648c870}, {0x4e9ac20?, 0xc001ce9088?, 0x648c870?})
	/opt//build-tools/.go/pkg/mod/go.uber.org/[email protected]/invoke.go:92 +0x374
go.uber.org/dig.(*Container).Invoke(0xc001ce90b0?, {0x4e9ac20?, 0x648c870?}, {0x0?, 0x53dee80?, 0xc001e380d0?})
	/opt//build-tools/.go/pkg/mod/go.uber.org/[email protected]/invoke.go:46 +0x2b
go.uber.org/fx.runInvoke({0x7f523c2c1098?, 0xc000636ce0?}, {{0x4e9ac20, 0x648c870}, {0xc000646f00, 0x7, 0x8}})
	/opt//build-tools/.go/pkg/mod/go.uber.org/[email protected]/invoke.go:108 +0x1ff
go.uber.org/fx.(*module).executeInvoke(0xc000c6a2d0, {{0x4e9ac20, 0x648c870}, {0xc000646f00, 0x7, 0x8}})
	/opt//build-tools/.go/pkg/mod/go.uber.org/[email protected]/module.go:186 +0x146
go.uber.org/fx.(*module).executeInvokes(0xc000c6a2d0)
	/opt//build-tools/.go/pkg/mod/go.uber.org/[email protected]/module.go:172 +0xea
go.uber.org/fx.New({0xc00151f578, 0x3, 0x25?})
	/opt//build-tools/.go/pkg/mod/go.uber.org/[email protected]/app.go:530 +0x851
github.com/filecoin-project/boost/node.New({0x67d0a40, 0xc0002820f0}, {0xc0010f8c60, 0x6, 0x6})
	/opt//build/boost/node/builder.go:396 +0x526
main.glob..func40(0x8b99400?)
	/opt//build/boost/cmd/boostd/run.go:98 +0x7bf
github.com/urfave/cli/v2.(*Command).Run(0x8b99400, 0xc000eed3c0, {0xc000499cd0, 0x1, 0x1})
	/opt//build-tools/.go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:273 +0x9eb
github.com/urfave/cli/v2.(*Command).Run(0xc0002b6420, 0xc000eed1c0, {0xc000226000, 0x4, 0x4})
	/opt//build-tools/.go/pkg/mod/github.com/urfave/cli/[email protected]/command.go:266 +0xc4d
github.com/urfave/cli/v2.(*App).RunContext(0xc000054f00, {0x67d0a78?, 0xc000220c80}, {0xc000226000, 0x4, 0x4})
	/opt//build-tools/.go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:332 +0x616
github.com/urfave/cli/v2.(*App).Run(...)
	/opt//build-tools/.go/pkg/mod/github.com/urfave/cli/[email protected]/app.go:309
main.main()
	/opt//build/boost/cmd/boostd/main.go:58 +0x51


### Repo Steps

set IndexProvider.Enable == false, run boostd, fail
@f8-ptrk
Copy link
Contributor Author

f8-ptrk commented Aug 2, 2023

@LexLuthr

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant