NamespaceCompactor compact individual segments based on the key which is the source adaptor namespace.
| 22 | // NamespaceCompactor compact individual segments based on the key which |
| 23 | // is the source adaptor namespace. |
| 24 | type NamespaceCompactor struct { |
| 25 | log *CommitLog |
| 26 | } |
| 27 | |
| 28 | func (c *NamespaceCompactor) Compact(offset uint64, segments []*Segment) { |
| 29 | log.With("num_segments", len(segments)).Infoln("starting compaction...") |
nothing calls this directly
no outgoing calls
no test coverage detected