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
The panic is caused by a patched porcupine.Operation whose invocation timestamp is behind its response timestamp. This breaks the causality assumption when building linearization visual.
The root cause comes from adjusting put return time when there are multiple wal entries having same put requests (same key and value). The put request for this specific case is Put("compact_rev_key", "1055"). When iterating persisted requests in reverse order, the last occurrence of such put request will adjust its return time using the earliest observed client return time which shall actually belong to its first occurrence. This may twist following calculation and make some request's return time too earlier to before its invocation time.
Bug report criteria
What happened?
Test https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/ci-etcd-robustness-release35-amd64/1883794260398968832 failed with panic
panic: interface conversion: interface {} is nil, not model.EtcdRequest
Issue is reproducible locally from the report showing failed linearizaiton.
However, when I disabled history patching I got linearization success, implying that there is a bug in history patching.
What did you expect to happen?
Robustness test validation should not panic
How can we reproduce it (as minimally and precisely as possible)?
Follow instructions https://github.com/etcd-io/etcd/tree/main/tests/robustness#re-evaluate-existing-report on artifact from https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/ci-etcd-robustness-release35-amd64/1883794260398968832
Anything else we need to know?
No response
Etcd version (please run commands below)
Etcd configuration (command line flags or environment variables)
paste your configuration here
Etcd debug information (please run commands below, feel free to obfuscate the IP address or FQDN in the output)
Relevant log output
The text was updated successfully, but these errors were encountered: