lab3: Nginx, реплики и идемпотентность

This commit is contained in:
2026-11-06 20:20:43 +03:00
parent 0ab3a341aa
commit 69102247bc
69 changed files with 5271 additions and 38 deletions
+15
View File
@@ -0,0 +1,15 @@
Container mtusi-lab3-api-a-run-58a0efacd2d1 Creating
Container mtusi-lab3-api-a-run-58a0efacd2d1 Created
PASS: actual multi-statement chat transaction rollback
PASS: message/result atomic rollback; same key usable after transient failure
Limit (cost=0.41..9.99 rows=51 width=85) (actual time=0.006..0.029 rows=51 loops=1)
Buffers: shared hit=55
-> Index Scan using idx_messages_chat_created_id on messages (cost=0.41..1879.29 rows=10001 width=85) (actual time=0.006..0.026 rows=51 loops=1)
Index Cond: (chat_id = 'ccabcfa1-0126-4cf1-9c51-9f544add2f10'::uuid)
Buffers: shared hit=55
Planning:
Buffers: shared hit=48
Planning Time: 0.105 ms
Execution Time: 0.036 ms
PASS: history index on at least 10000 messages
PASS: repeated versioned migrations preserved existing messages