Skip to content

bug: Stand-alone mode init error ,so work error #1584

@andyindr

Description

@andyindr

Issue description

use Stand-alone mode
but init error

Environment

  • apisix version (cmd: apisix version):
  • OS: centos7

apisix:1.2

Minimal test code / Steps to reproduce the issue

config.yaml:
config_center: yaml

apisix.yaml :
routes:

uri: /hello
upstream:
    nodes:
        "127.0.0.1:1980": 1
    type: roundrobin

#END

What's the actual result? (including assertion message & call stack if applicable)

error.log

2020/05/13 11:18:55 [error] 8877#8877: *3 [lua] config_yaml.lua:169: failed to check item data of [routes] err:failed to create lock: dictionary not found ,val: {"uri":"/hello","upstream":{"nodes":{"127.0.0.1:1980":1},"type":"roundrobin"}}, context: ngx.timer

What's the expected result?

Stand-alone mode can work in 1.2

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions