You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
for the same tag, the current logic to transfer the image is to reverse the order and push the oldest image first. Instead of assuming that reversing the order will produce the right output, I wonder if we can sort the list based on generation value to come up with a consistent list of images generated in order w.r.t. time
The text was updated successfully, but these errors were encountered:
// Generation is a counter that tracks mutations to the spec tag (user intent). When a tag reference
// is changed the generation is set to match the current stream generation (which is incremented every
// time spec is changed). Other processes in the system like the image importer observe that the
// generation of spec tag is newer than the generation recorded in the status and use that as a trigger
// to import the newest remote tag. To trigger a new import, clients may set this value to zero which
// will reset the generation to the latest stream generation. Legacy clients will send this value as
// nil which will be merged with the current tag generation.
// +optional
Generation *int64 `json:"generation" protobuf:"varint,5,opt,name=generation"`
for the same tag, the current logic to transfer the image is to reverse the order and push the oldest image first. Instead of assuming that reversing the order will produce the right output, I wonder if we can sort the list based on
generation
value to come up with a consistent list of images generated in order w.r.t. timeThe text was updated successfully, but these errors were encountered: