Snapshot minting's interval Env is not being leveraged.

Aperta
#31 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@a-guhan ci sta già lavorando.

Dal 29/10/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.
Lingua principale
Rust
Stelle
129
Fork
7
Merge medio
1g 19h
PR unite (30g)
5

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di juspay/streamgres

Tutte le issue di juspay/streamgres

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.