View Source Electric.ShapeCache.FileStorage.Compaction (electric v1.0.1)

Summary

Functions

Link to this function

compact_in_place(arg, chunk_size \\ LogChunker.default_chunk_size_threshold(), merge_fun \\ &LogItems.merge_updates/2)

View Source
@spec compact_in_place(
  {String.t(), String.t(), String.t()},
  non_neg_integer(),
  (any(), any() -> any())
) ::
  {String.t(), String.t(), String.t()}
Link to this function

merge_and_compact(log1, log2, merged_log_path, chunk_size \\ LogChunker.default_chunk_size_threshold())

View Source