Real PostgreSQL 16 and Redis Stack 7.4; 24 tests write output/01-24. Covers the 20-message default window with no property, the 36-character conversation_id, tool messages dropped by JdbcChatMemoryRepository, concurrent add() on one conversation, a 1.x table under the 2.0 repository, the Redis repository silently backing off for a custom ChatMemory, and the removal of PromptChatMemoryAdvisor. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Ja4jkzrbQ4LQZBNrb5mkZE
8 lines
482 B
Plaintext
8 lines
482 B
Plaintext
# Two saveAll() calls released at the same instant
|
|
|
|
seeded with u0, a0; two writers add from-A and from-B; both saveAll() calls start together
|
|
The outcome differs from run to run, so the exact count is not printed here. Across repeated runs on
|
|
PostgreSQL 16 (READ COMMITTED) it is one of two things, and never the 4 messages that were sent:
|
|
3 messages -> one writer's message is gone
|
|
6 messages -> both transactions inserted, history is duplicated, sequence_id values collide
|