Missing data in influxdb docker

My setup is haproxy->influxdb docker, only onedb and one measurement. I am pumping bulked data using the java influxdb client. I see that in the middle of the stream, influxdb doesn’t show the data via select command (select count(*) from ). However, when i look at the docker logs, i clearly see, influxdb server returning 204. Its not a full data loss, but it happens in the middle of the stream, like with few mins of starting the stream.

[httpd] - - [21/Jul/2017:19:14:16 +0000] “POST /write?db=cloudDB&rp=oneUnit&precision=n&consistency=one HTTP/1.1” 204 0 “-” “okhttp/3.4.1” ca261664-6e48-11e7-96ae-000000000000 129

Looking at the stats, i see a discrepancy between req and writeOK, however, i dont see any errors?

name: write
pointReq pointReqLocal req subWriteDrop subWriteOk writeDrop writeError writeOk writeTimeout

877552 877552 34952 0 34952 0 0 14876 0

/ # influx -version
InfluxDB shell version: 1.2.0
/ #

Couple of questions:

  1. Is 204 returned after the data is written into the db??
  2. How to check the error logs, if any? How to go about debugging this issue?