Menu

#3 Multi-Thread issue

closed
nobody
None
5
2006-06-12
2006-05-02
sankgan
No

When lots of threads are submitted for big files,
EDIException for format errors are thrown. Single
thread working properly. Inspecting the code

EDIReaderFactory.java
has
protected static EDITokenizer tokenizer;

which is giving problems for many threads.
I have commented the static variable and changed
public static EDIReader createEDIReader(InputSource
source, boolean debug)
throws EDISyntaxException,
IOException {
EDIReader parser;
Reader inputReader =
EDIAbstractReader.createReader(source);
// NEW LOCAL VARIABLE Instead of static
EDITokenizer tokenizer=null;

Discussion

  • sankgan

    sankgan - 2006-06-12

    Logged In: YES
    user_id=1514697

    3.8 release fixed this issue

     
  • sankgan

    sankgan - 2006-06-12
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB