mirror of
https://github.com/prometheus/prometheus.git
synced 2025-02-02 08:31:11 -08:00
add missing zero to tombstone magic number (#448)
add missing zero to tombstone magic number constant. Signed-off-by: Krasi Georgiev <kgeorgie@redhat.com>
This commit is contained in:
parent
a9470dd8d5
commit
e4843938ba
|
@ -8,7 +8,7 @@ The stones section is 0 padded to a multiple of 4 for fast scans.
|
||||||
|
|
||||||
```
|
```
|
||||||
┌────────────────────────────┬─────────────────────┐
|
┌────────────────────────────┬─────────────────────┐
|
||||||
│ magic(0x130BA30) <4b> │ version(1) <1 byte> │
|
│ magic(0x0130BA30) <4b> │ version(1) <1 byte> │
|
||||||
├────────────────────────────┴─────────────────────┤
|
├────────────────────────────┴─────────────────────┤
|
||||||
│ ┌──────────────────────────────────────────────┐ │
|
│ ┌──────────────────────────────────────────────┐ │
|
||||||
│ │ Tombstone 1 │ │
|
│ │ Tombstone 1 │ │
|
||||||
|
|
|
@ -29,7 +29,7 @@ const tombstoneFilename = "tombstones"
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// MagicTombstone is 4 bytes at the head of a tombstone file.
|
// MagicTombstone is 4 bytes at the head of a tombstone file.
|
||||||
MagicTombstone = 0x130BA30
|
MagicTombstone = 0x0130BA30
|
||||||
|
|
||||||
tombstoneFormatV1 = 1
|
tombstoneFormatV1 = 1
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue