Synchronous channel cleanup
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- haskell
- Área
- backend, distributed-systems
Línea de trabajo
Start by reading the channel shutdown and stream worker code to find where ThreadAbort is sent; the issue does not name specific files or tests. Compare synchronous cancellation, asynchronous abort, and the proposed timeout based hybrid, then identify the behavior and configuration that should be tested. Done means the chosen shutdown mode is implemented and its effect on the current stream action and pending items is verified.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
We throw ThreadAbort exception to running thread when the channel is stopped. Asynchronous exceptions can cause inadvertent problems because of unclean shutdown of the thread. It may leave the system in inconsistent state unless proper exception handling is implemented by the programmer. To avoid such issues we can also use a synchronous shutdown of streams by setting a flag and letting the thread abort itself. This would stop the thread before the next item in the stream is handled but the current action would not be interrupted. This could lead to delays in aborting the streams but would be safer than async signalling. This could be a config option, perhaps the default and the programmer can choose the other way if needed.
We can also have an option of a hybrid approach where we try to stop the threads synchronously first then after a timeout throw async exceptions.
- Lenguaje dominante
- Haskell
- Estrellas
- 926
- Forks
- 71
- Merge medio
- 6 h 49 min
- PR fusionados (30 d)
- 3
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de composewell/streamly
-
takeInterval yields nothing, dropInterval drops nothingPosiblemente ocupada @GuillaumedeVolpiano la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
composewell/streamly#3271 ·
-
Parser: many accepts input that ends inside an elementPosiblemente ocupada @GuillaumedeVolpiano la tomó hace 1 día. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 52/100
composewell/streamly#3270 ·
-
aspect:api
Dificultad 4/5 1-2 días Aptitud para principiantes 48/100
composewell/streamly#3206 ·
-
Rooted, unrooted path semanticsAbiertoapi:breaking aspect:api aspect:filesystem
Dificultad 4/5 1-2 días Aptitud para principiantes 35/100
composewell/streamly#3203 ·
-
type:performance
Dificultad 4/5 3-5 días Aptitud para principiantes 32/100
composewell/streamly#3200 · 2 comentarios ·
Todos los issues de composewell/streamly
Issues similares
-
bug desktop
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
simplex-chat/simplex-chat#8291 ·
Los mantenedores suelen responder en 1 día
-
[BUG]: C# programs with top-level statements fail to compilePosiblemente ocupada @AsyncNigam la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
compiler-explorer/compiler-explorer#9625 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
needs triage type: enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 3 días
-
reflex-0.10Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 62/100
commercialhaskell/stackage#8180 ·
Los mantenedores suelen responder en 1 día
-
documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
OpenZeppelin/canton-contracts#140 ·
Los mantenedores suelen responder en 1 día