Skip to content

Commit

Permalink
fix store id
Browse files Browse the repository at this point in the history
  • Loading branch information
vird committed Oct 24, 2024
1 parent ec59d10 commit b05979e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/arweave/src/ar_chunk_storage.erl
Original file line number Diff line number Diff line change
Expand Up @@ -759,15 +759,15 @@ chunk_offset_list_to_map(ChunkOffsets) ->
repack(Cursor, RightBound, Packing, StoreID) ->
case ar_sync_record:get_next_synced_interval(Cursor, RightBound, ?MODULE, StoreID) of
not_found ->
Label = ar_storage_module:label_by_id(StoreID),
ar:console("~n~nRepacking of storage module ~s is complete! "
ar:console("~n~nRepacking of ~s is complete! "
"We suggest you stop the node, rename "
"the storage module folder to reflect the new packing, and start the "
"node with the new storage module.~n", [Label]),
"node with the new storage module.~n", [StoreID]),
?LOG_INFO([{event, repacking_complete},
{storage_module, StoreID},
{target_packing, ar_serialize:encode_packing(Packing, true)}]),
Server = list_to_atom("ar_chunk_storage_" ++ Label),
Server = list_to_atom("ar_chunk_storage_"
++ ar_storage_module:label_by_id(StoreID)),
gen_server:cast(Server, repacking_complete),
ok;
{End, Start} ->
Expand Down

0 comments on commit b05979e

Please sign in to comment.