windows tcp-server shared db among threads
From Richard on xapian-devel:
I'm not sure what happens for the windows variant of the server (which
is a threaded implementation), but I imagine that there the same
instance of the database is accessed by each connection: if this is
correct, there are likely to be other problems since the database is not
safe for concurrent access. A threaded implementation needs to create a
new instance of the database for each thread.
Change History
(6)
Blocking: |
118 added
|
Cc: |
richard@… added
|
Blocked By: |
141 added
|
Status: |
new → assigned
|
Resolution: |
→ fixed
|
Status: |
assigned → closed
|
Operating System: |
→ Microsoft Windows
|
Resolution: |
fixed → released
|
Description: |
modified (diff)
|
Milestone: |
→ 1.0.0
|
I think that this bug, if indeed it is as I imagine, will cause undefined behaviour due to race conditions under load on windows, and should therefore be fixed for 1.0.0. Setting to block #118.