Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/wal_serialization' into wal_seri…
Browse files Browse the repository at this point in the history
…alization
  • Loading branch information
mattdurham committed Sep 13, 2024
2 parents 9331c64 + dd55897 commit 622dbc1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
)

// serializer collects data from multiple appenders in-memory and will periodically flush the data to file.Storage.
// serializer will trigger based on the last flush duration OR if it hits a certain amount of items.
// serializer will flush based on configured time duration OR if it hits a certain number of items.
type serializer struct {
inbox actor.Mailbox[*types.TimeSeriesBinary]
metaInbox actor.Mailbox[*types.TimeSeriesBinary]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ type SeriesGroup struct {
}

type TimeSeriesBinary struct {
// Labels are not serialized to msgp but are passed in.
// Labels are not serialized to msgp, instead we store separately a dictionary of strings and use `LabelNames` and `LabelValues` to refer to the dictionary by ID.
Labels labels.Labels `msg:"-"`
LabelsNames []uint32
LabelsValues []uint32
Expand Down

0 comments on commit 622dbc1

Please sign in to comment.