Madhav Jivrajani 40bd8c90a7 tests/e2e: add e2e test to reproduce issue 18089
The goal is to reproduce a DELETE event being dropped in a watch after a compaction
occurs on the revision where the deletion took place. In order to reproduce this, we
perform the following sequence (steps for reproduction thanks to @ahrtr):
  - PUT k v2 (assume returned revision = r2)
  - PUT k v3 (assume returned revision = r3)
  - PUT k v4 (assume returned revision = r4)
  - DELETE k (assume returned revision = r5)
  - PUT k v6 (assume returned revision = r6)
  - COMPACT r5
  - WATCH rev=r5

We should get the DELETE event (r5) followed by the PUT event (r6). However, currently we only
get the PUT event with returned revision of r6 (key=k, val=v6).

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
(cherry picked from commit ebf2cac6bda38892121585d2467982da54e60ef1)
Signed-off-by: Wei Fu <fuweid89@gmail.com>
2024-08-17 11:25:28 +08:00
..
2023-07-14 12:48:22 +08:00
2018-04-09 10:37:28 -07:00
2018-04-09 10:37:28 -07:00
2018-04-09 10:37:28 -07:00
2023-03-27 12:12:36 +02:00
2022-12-19 18:34:04 +08:00
2024-02-20 11:29:44 -08:00
2019-05-28 15:39:35 -07:00
2023-12-21 09:33:11 -08:00
2024-01-10 15:45:26 +08:00
2022-12-19 18:34:04 +08:00
2022-12-19 18:34:04 +08:00
2023-03-30 14:48:28 +02:00