diff options
| -rw-r--r-- | src/rabbit_msg_store.erl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/rabbit_msg_store.erl b/src/rabbit_msg_store.erl index 5dd11aa75f..dfd96cefd5 100644 --- a/src/rabbit_msg_store.erl +++ b/src/rabbit_msg_store.erl @@ -478,8 +478,7 @@ client_read3(Server, #msg_location { guid = Guid, file = File }, Defer, %% badarg scenario above, but we don't have a missing file %% - we just have the /wrong/ file). case index_lookup(Guid, CState) of - #msg_location { file = File, ref_count = RefCount } = - MsgLocation when RefCount > 0 -> + #msg_location { file = File } = MsgLocation -> %% Still the same file. mark_handle_open(FileHandlesEts, File), |
