Snapshot minting's interval Env is not being leveraged.

Aberta
#31 0 comentários 0 reações 1 responsável Ver no GitHub

Mantenedores costumam responder em até 1 dia

@a-guhan já está trabalhando nisso.

Desde 29/10/2026.

Avaliação

Esta issue ainda não foi avaliada.

Descrição

Even though snapshot minting has an interval Env configured, it is not being used properly because establishing the consistent LSN for snapshot in standby is dependent on running txns record from primary, so usually it is taking around 15 seconds for minter to acquire a snapshot, which result in heavy engine work to apply all the WAL buffered in recent queue.

  1. We can have a dedicated connection to master for a configured (default 5 seconds) to execute the pg_log_standby_snapshot() function which writes the txn record in WAL which can be consumed by standby and quickly consistent LSN for the snapshot can be established.
  2. Currently after reading the initial results from storage we apply all the buffered WAL in liner time, we can improve it by indexing with table.
Linguagem predominante
Rust
Estrelas
129
Forks
7
Merge médio
1d 19h
PRs com merge (30d)
5

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 juspay/streamgres

Todas as issues de juspay/streamgres

Issues semelhantes

Mais issues de Rust

Receba novas issues na sua caixa de entrada

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