Issue Details (XML | Word | Printable)

Key: MINION-2
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: jhalex
Reporter: jhalex
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
minion

Concurrency issue with manual call to dump

Created: 13/Apr/10 08:48 PM   Updated: 13/Apr/10 08:48 PM
Component/s: Indexing
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

Tags:


 Description  « Hide

The scenario is that one thread begins to index a document (in this case, passing in an indexable map). It calls startDocument. Another thread wakes up and tells the engine to do a dump. That checks the indexing queue for a new doc, determines there isn't one (the AbstractPipelineImpl is already holding on to it), and goes ahead and does a realDump. That sticks a new InvFileMemoryPartition into the pipeline. Now the first thread calls handleField, sends its data down to the InvFileMemoryPartition, and it throws an NPE when it tries to get a dockey (which is probably for the best since otherwise it'd be pretty screwed up!).



There are no comments yet on this issue.