zyxxoo commented on PR #2130: URL: https://github.com/apache/incubator-hugegraph/pull/2130#issuecomment-1504608596
> > > > 不过目前来看, g.V().limit() 这条语句应该涉及不到 task, 这里应该有 bug > > > > > > > > > 我理解`执行任务`就会生成一个task吧,跟语句本身没有关系吧 > > > > > > ok, 看着这里执行任务应该创建了一个task > > 执行这条语句一直失败吗?后端用什么存储呢? > > 一直失败,使用rocksdb存储。报错都是`Can't schedule task on non-master server` > > > > > > > > > > >   > > > > use hubble, submit task still fail on the worker, but success on the master > > > > > > > > > 目前在拦截器这一层做了转发,但是这期间如果发生了 master 切换,因为缓存原因还是会转发到旧的节点,这时候就会有这个错误,这里考虑性能并不会转发多次,可以考虑重试下这个语句应该就不会报错了 > > > > > > 集群run起来之后没有发生master切换,多次尝试`g.V().limit()`还是会失败 > > 估计是拦截器漏加了,这个是指定方法才会生效 还有,必须配置了授权才能生效,配置auth.authenticator=org.apache.hugegraph.auth.StandardAuthenticator 了吗? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
