Skip to content

Reject CachingMiddleware reads and writes after close - #634

Open
gyanu2507 wants to merge 1 commit into
msiemens:masterfrom
gyanu2507:caching-middleware-close
Open

Reject CachingMiddleware reads and writes after close#634
gyanu2507 wants to merge 1 commit into
msiemens:masterfrom
gyanu2507:caching-middleware-close

Conversation

@gyanu2507

Copy link
Copy Markdown

After close(), CachingMiddleware kept serving the in-memory cache, so inserts looked fine but never hit the closed file. Reads/writes now fail once the middleware is closed.

Fixes #631

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CachingMiddleware: operations after close() still succeed in memory

1 participant