Skip to content

Commit 6dbe4de

Browse files
Merge pull request #11292 from rabbitmq/mergify/bp/v3.13.x/pr-11288
CQ: Fix entry missing from cache leading to crash on read (backport #11288)
2 parents 06b7bc6 + 43849be commit 6dbe4de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_msg_store.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ handle_cast({write, CRef, MsgRef, MsgId, Flow},
907907
%% the normal logic for that in write_message/4 and
908908
%% maybe_roll_to_new_file/2.
909909
case index_lookup(MsgId, State) of
910-
[#msg_location { file = File }]
910+
#msg_location { file = File }
911911
when File == State #msstate.current_file ->
912912
ok;
913913
_ ->

0 commit comments

Comments
 (0)