allegro / allegro/consul-recipes

Watches: Document races on worker pool

Abierto
#15 2 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Java
Estrellas
12
Forks
2
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Even if events are properly ordered from Consul. We can still process them in a different order. When we've got multiple threads of worker pool and synchronized operation of consuming events, the thread that got second event can run before the thread that got first event.

We should recommend for users that they either should use single threaded worker pool or save last consumed index.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.