diff options
Diffstat (limited to 'weed/storage/needle.go')
| -rw-r--r-- | weed/storage/needle.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/weed/storage/needle.go b/weed/storage/needle.go index 31bada091..f67556c72 100644 --- a/weed/storage/needle.go +++ b/weed/storage/needle.go @@ -39,8 +39,9 @@ type Needle struct { LastModified uint64 //only store LastModifiedBytesLength bytes, which is 5 bytes to disk Ttl *TTL - Checksum CRC `comment:"CRC32 to check integrity"` - Padding []byte `comment:"Aligned to 8 bytes"` + Checksum CRC `comment:"CRC32 to check integrity"` + AppendAtNs uint64 `comment:"append timestamp in nano seconds"` //version3 + Padding []byte `comment:"Aligned to 8 bytes"` } func (n *Needle) String() (str string) { |
