[webservices] dataselect wrong data returned to multithreaded client
Philip Crotwell
crotwell at seis.sc.edu
Mon Jul 16 13:29:55 PDT 2012
Hi
I have been doing some tests with the dataselect web service from a
multithreaded client (SOD) and found that occasionally I would get
data records back in one thread that were not the channel asked for.
Luckily I had a check in place from some earlier issues that compared
the channel codes in the request with those in the result. Here is an
example. It appears that the thread that requested data from BORG got
data from ARU.
2012-07-16 15:51:26,794 - Channel id in returned seismogram doesn not
match channelid in request.
req=II.1986-01-01T00:00:00.000GMT.BORG.00.BHZ.2003-08-29T00:00:00.000GMT
seis=II.1986-01-01T00:00:00.000GMT.ARU.00.BHZ.2003-08-29T00:00:00.000GMT
The request, if it helps, was
net=II&sta=BORG&loc=00&cha=BHZ&start=2009-05-16T01:08:44&end=2009-05-16T01:26:26
This is a bit scary as I suspect many clients do not check the
returned data to make sure it actually corresponds to their original
request. I have not seen this with a single threaded client, so
perhaps that is a clue.
I will try to do some more testing and see if I can provide any more details.
thanks,
Philip
More information about the webservices
mailing list