You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "enuoCM (via GitHub)" <gi...@apache.org> on 2023/06/14 08:27:25 UTC
[GitHub] [apisix-dashboard] enuoCM opened a new issue, #2824: storeNeedReInit never got reset
enuoCM opened a new issue, #2824:
URL: https://github.com/apache/apisix-dashboard/issues/2824
### Issue description
the stores in storeNeedReInit will be reinit every 2 minutes, storeNeedReInit never got reset
### Expected behavior
storeNeedReInit should be cleaned after ReInit.
### How to Reproduce
`func ReInit() error {
for _, store := range storeNeedReInit {
if err := store.Init(); err != nil {
return err
}
}
return nil
}`
`go func() {
for {
select {
case <-time.Tick(2 * time.Minute):
err := store.ReInit()
if err != nil {
log.Errorf("resource re-initialize failed, err: %v", err)
}
}
}
}()`
### Screenshots
_No response_
### Environment
- apisix version (cmd: `apisix version`):
- OS (cmd: `uname -a`):
- OpenResty / Nginx version (cmd: `nginx -V` or `openresty -V`):
- etcd version, if have (cmd: run `etcd --version`):
- apisix-dashboard version, if have:
- Browser version, if have:
### Additional context
_No response_
--
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: notifications-unsubscribe@apisix.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] storeNeedReInit never got reset [apisix-dashboard]
Posted by "juzhiyuan (via GitHub)" <gi...@apache.org>.
juzhiyuan commented on issue #2824:
URL: https://github.com/apache/apisix-dashboard/issues/2824#issuecomment-2814349409
Hi, we will release a new dashboard to address legacy issues. Refer to https://github.com/apache/apisix-dashboard/issues/2981
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] storeNeedReInit never got reset [apisix-dashboard]
Posted by "juzhiyuan (via GitHub)" <gi...@apache.org>.
juzhiyuan closed issue #2824: storeNeedReInit never got reset
URL: https://github.com/apache/apisix-dashboard/issues/2824
--
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: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org