From 74428785e1ba34bd094cc31a5cf775b60d1da785 Mon Sep 17 00:00:00 2001 From: Thibault Charbonnier Date: Tue, 27 Mar 2018 16:03:49 -0700 Subject: [PATCH] docs(changelog) mention we do not error out on 'no memory' anymore --- CHANGELOG.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7eace94a..6a6f5ded0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -46,6 +46,15 @@ values (documented below) do not break any dependent application. - Support for custom IPC module. [#31](https://github.com/thibaultcha/lua-resty-mlcache/issues/31) +#### Fixed + +- In the event of a `no memory` error returned by the L2 lua_shared_dict cache + (after the number of `shm_set_tries` failed), we do not interrupt the `get()` + flow to return an error anymore. Instead, the retrieved value is now bubbled + up for insertion in L1, and returned to the caller. A warning log is (by + default) printed in the nginx error logs. + [#41](https://github.com/thibaultcha/lua-resty-mlcache/issues/41) + [Back to TOC](#table-of-contents) ## [1.0.1]