Open GoogleCodeExporter opened 9 years ago
That's an interesting bug. I think you are perhaps seeing a concurrency bug
due to lack of proper synchronization on the objects (i.e., Java class
instances) passed from the batch thread into the loading. If the switch is
fast enough and without synchronization the receiving threads may partially
filled out data, because instance data may still be resident on machine
registers or L1-L3 caches on separate cores or CPUs. The usual fix is to put
synchronization on methods belonging to shared objects. This guarantees data
will be flushed and visible across threads.
Original comment by robert.h...@continuent.com
on 5 Jan 2015 at 4:25
I'm raising priority for this, because it worries me that CSV file has been
corrupt, which could potentially lead to data corruption if we're not lucky to
get an error.
Original comment by linas.vi...@continuent.com
on 6 Jan 2015 at 5:36
Original issue reported on code.google.com by
linas.vi...@continuent.com
on 5 Jan 2015 at 4:03