Application namespaces for environments that share a store

Aberta
#61 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
csharp, mongodb, redis
Domínio
backend, databases

Direção de pesquisa

Start with the linked comparison roadmap and the licensing note in CONTRIBUTING.md, then trace where scheduler options are configured and where jobs, crons and node records are persisted. The work spans the EF Core migration, the MongoDB field and the Redis key segment, plus cron seeding and the dashboard and dead-node cleanup queries. Done means an opt-in namespace on each row, pre-existing rows in a default namespace, and an ADR in site/decisions/ listing any new public API.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

.NET enhancement roadmap

What's missing

Two environments (for example dev and staging, or two apps) that share one database or Redis instance see and run each other's jobs. The only isolation today is a separate schema, database or Redis prefix.

Proposal

An option that sets an application namespace (for example from the app name and IHostEnvironment.EnvironmentName). Each row gets the namespace, and every query, the dashboard and dead-node cleanup only see rows in their own namespace. Rows written before the option existed belong to a default namespace, so upgrading changes nothing until it's set.

Notes

  • Schema change (EF Core migration, MongoDB field, Redis key segment) and an ADR.
  • Must also cover cron seeding, so two environments don't fight over code-defined crons.

Part of the TickerQ comparison roadmap. Design it from this description only: never read or copy code, tests or docs from TickerQ 10.5.0 or later, which is under a commercial license (see CONTRIBUTING.md). If it adds or changes public API, add an ADR in site/decisions/ and list the API in the pull request. Comment here if you'd like to pick it up, and ask anything in Discussions.

Linguagem predominante
C#
Estrelas
0
Forks
2
Merge médio
1h 8min
PRs com merge (30d)
24

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de TickerNet/TickerNet

Todas as issues de TickerNet/TickerNet

Issues semelhantes

Mais issues de C#

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.