nchan
nchan copied to clipboard
nchan_redis_storage_mode backup does not working
Steps to reproduce:
- Clone repo https://github.com/Stas-Ghost/nchan-docker All versions are stored in Dockerfile
- Add nchan_redis_storage_mode backup; to nginx.vh.default.conf
nchan_redis_namespace nchan;
nchan_access_control_allow_origin $http_origin;
+ nchan_redis_storage_mode backup;
- Run docker-compose up
- Execute
curl --request POST --data "test message" http://127.0.0.1:8081/pub/1
- Nchan failed
nchan_1 | 172.20.0.1 - - [23/Nov/2017:16:10:48 +0000] "POST /pub/1; HTTP/1.1" 404 169 "-" "curl/7.56.1" "-"
nchan_1 | Assertion failed: !msg_in_shm (/usr/src/nchan-1.1.10/src/store/memory/memstore.c: nchan_store_publish_message_to_single_channel_id: 3200)
nchan_1 | 2017/11/23 16:10:51 [alert] 1#1: worker process 9 exited on signal 6 (core dumped)
Problem
Config option nchan_redis_storage_mode backup; does not work
Expected behaviour
Config option nchan_redis_storage_mode backup; works
Fixed in 6462d102
Fix released in 1.1.11