Skip to content

Updating env does not update cache on other replicas #170

@lakhansamani

Description

@lakhansamani

Version: 0.22.2

Describe the bug

Current implementation

  • On server start persist the current env state in db configured via env var.
  • On server start put the env state in-memory for faster access
  • 1st scenario helps in configuring env state via dashboard. Though I don't allow updating database related env via dashboard else it will be chicken-egg-problem :-D

There is a problem where updating env via dashboard will also not update the env var cache on other replicas and might require a restart for it.

Steps To Reproduce

Expected behavior

Screenshots

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions