I have a watch setup that I used the resourceVersion as a high watermark for. The resourceVersion eventually will wrap around and restart at 0 once the cluster has been up for quite a while.
What strategy do folks use to catch this and reset the high watermark to zero. Normally you only increase the high watermark if the resourceVersion of the current api object is > than the current high watermark.
This special case you need to reset it to a lower value.
Will a status message get sent into the watch? Will the watch end with a particular error that can be caught to reset?
Hard to test since it can take awhile to get a k8s cluster resourceVersion to wrap around!
Thanks!
Chris
I have a watch setup that I used the resourceVersion as a high watermark for. The resourceVersion eventually will wrap around and restart at 0 once the cluster has been up for quite a while.
What strategy do folks use to catch this and reset the high watermark to zero. Normally you only increase the high watermark if the resourceVersion of the current api object is > than the current high watermark.
This special case you need to reset it to a lower value.
Will a status message get sent into the watch? Will the watch end with a particular error that can be caught to reset?
Hard to test since it can take awhile to get a k8s cluster resourceVersion to wrap around!
Thanks!
Chris