We may need to check nginx syntax before running apisix reload

在 2020年6月4日星期四,Ming Wen <[email protected]> 写道:

> agreed
>
> Thanks,
> Ming Wen, Apache APISIX & Apache SkyWalking
> Twitter: _WenMing
>
>
> junxu chen <[email protected]> 于2020年6月4日周四 上午9:07写道:
>
> > We recently encountered a bug:
> > when reuseport is enabled by default, during the running of APISIX,
> modify
> > `config.yaml` and start without stopping APISIX. This resulted in some
> > workers still using the old config, some workers using the new config,
> and
> > the old workers could not be killed by `apisix stop`
> >
> >
> > I think we need to fix it by:
> >
> > 1. When running `apisix start`, Check if APISIX has been running. If is
> > running, remind to use `apisix reload`
> >
> > 2. `apisix reload` needs to regenerate nginx.conf according to
> config.yaml
> > and then reload
> >
> > what do you think?
> >
>

Reply via email to