Skip to content

Commit 9ae255e

Browse files
committed
shu update
1 parent 0d2cb2e commit 9ae255e

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

rebar.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{<<"seshat">>,{pkg,<<"seshat">>,<<"1.0.1">>},0},
55
{<<"shu">>,
66
{git,"https://github.com/rabbitmq/shu.git",
7-
{ref,"beb2d6f23f5fe9caebeea002824b61fade088be0"}},
7+
{ref,"a63c37e0e3907e14894b26cb59b48eaacdc025b6"}},
88
0}]}.
99
[
1010
{pkg_hash,[

src/ra_log_meta.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,9 +181,9 @@ terminate(_, #?MODULE{shu = S0, compact_mref = MRef} = State) ->
181181
%% If a compaction is in flight, wait for it to finish
182182
S1 = case MRef of
183183
undefined -> S0;
184-
_ -> await_compaction(State, 30_000)
184+
_ ->
185+
await_compaction(State, 30_000)
185186
end,
186-
{ok, _S2} = shu:sync(S1),
187187
ok = shu:close(S1),
188188
ok.
189189

0 commit comments

Comments
 (0)