Projects tigase _server server-core Issues #1145
Race condition during storing/loading of offline messages (#1145)
Andrzej Wójcik (Tigase) opened 5 years ago

In some rare cases, it is possible that the loading of offline messages would happen at the same time (but on another thread) leading to the dropping of a message which would be stored.

Andrzej Wójcik (Tigase) commented 5 years ago

I've fixed the issue by the introduction of read-write locks, allowing multiple threads to write to the storage but only one to read from the storage.

wojciech.kapcia@tigase.net commented 4 years ago

I assume race-condition fixes some issues, but not the test and it's problem? Can we close this one?

Andrzej Wójcik (Tigase) commented 4 years ago

Actually, the test has another issue so we can close this one.

issue 1 of 1
Type
Bug
Priority
Normal
Assignee
Version
tigase-server-8.1.0
Spent time
3h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#1145
Please wait...
Page is in error, reload to recover