ЛР 3: HAProxy + 2 реплики, общая идемпотентность, rolling update

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
LOSYASH
2026-10-22 18:21:19 +03:00
co-authored by Claude Opus 5.5
parent 0ab3a341aa
commit a71c582195
54 changed files with 3192 additions and 40 deletions
+21
View File
@@ -0,0 +1,21 @@
== 20 ярЁрыыхы№э√ї чряЁюёют ё юфэшь ъы■ўюь ==
ok - all parallel repeats -> 201 (got [201])
ok - all responses carry the same message id (1 distinct)
ok - requests were served by >=2 replicas (2)
ok - exactly one message in history
ok - every replay returns the identical Message
== ёхьрэЄшър ъы■ўр ==
ok - same key, different body -> 409 (got 409)
ok - other JSON formatting = same request (got 201)
ok - same key in another chat is independent
ok - same key from another user is independent
ok - missing Idempotency-Key -> 400 (got 400)
ok - invalid key 'has space'... -> 400 (got 400)
ok - invalid key 'xxxxxxxxxxxx'... -> 400 (got 400)
ok - invalid key 'slash/key'... -> 400 (got 400)
ok - replay without session -> 401, access re-checked (got 401)
== эхюяЁхфхы╕ээ√щ Ёхчєы№ЄрЄ: ъышхэЄ яютЄюЁ хЄ ё Єхь цх ъы■ўюь ==
ok - retry after uncertain result -> 201
ok - still exactly one message
16 passed, 0 failed