Skip to content

Newly added/edited routes are not applied after write #14737

@incogni996

Description

@incogni996

Is there an existing issue for this?

  • I have searched the existing issues

Kong version ($ kong version)

Kong 3.7.0 Community Edition

Current Behavior

After I added or edited a Route through the Kong Manager Admin UI, it is not applied directly afterwards. I have to manually enter the VM and do a kong reload for it to be applied.

Expected Behavior

The upserted Route should be reflected as database write finishes, even if it's an eventual guarantee.

Steps To Reproduce

  1. Upsert a Route through the Admin UI and/or Admin API, add a host in the route.
  2. Assert that the new Route is there
  3. Check the database for the new Route existence.
  4. See if you can access the newly added host.

Anything else?

A trimmed down version of the config, with keys I assume to be related.

{
  "tagline": "Welcome to kong",
  "edition": "community",
  "version": "3.7.0",
  "configuration": {
    "db_resurrect_ttl": 30,
    "nginx_daemon": "off",
    "anonymous_reports": true,
    "nginx_main_daemon": "off",
    "nginx_worker_processes": "auto",
    "worker_state_update_frequency": 5,
    "pg_port": 5432,
    "pg_ssl": false,
    "pg_ssl_verify": false,
    "pg_max_concurrent_queries": 0,
    "pg_semaphore_timeout": 60000,
    "_debug_pg_ttl_cleanup_interval": 300,
    "worker_consistency": "eventual",
    "log_level": "notice",
    "nginx_main_worker_rlimit_nofile": "auto",
    "db_update_frequency": 5,
    "nginx_events_worker_connections": "auto",
    "db_update_propagation": 0,
    "nginx_events_multi_accept": "on",
    "mem_cache_size": "128m",
    "dns_no_sync": false,
    "pg_timeout": 5000,
    "role": "traditional",
    "db_cache_warmup_entities": [
      "services"
    ],
    "db_cache_ttl": 0,
    "database": "postgres",
    "client_ssl": false,
    "pg_database": "kong",
    "pg_user": "kong"
  },
  "lua_version": "LuaJIT 2.1.0-20231117"
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions