Merge pull request #15679 from colega/update-comment-on-mempostings-lvs

Update comment on MemPostings.lvs
This commit is contained in:
Björn Rabenstein 2024-12-17 19:41:56 +01:00 committed by GitHub
commit ff398062cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,7 +72,7 @@ type MemPostings struct {
// lvs holds the label values for each label name.
// lvs[name] is essentially an unsorted append-only list of all keys in m[name]
// mtx must be held when interacting with lvs.
// Since it's append-only, it is safe to the label values slice after releasing the lock.
// Since it's append-only, it is safe to read the label values slice after releasing the lock.
lvs map[string][]string
ordered bool