<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 26, 2015 at 11:01 AM, Brendan Colloran <span dir="ltr"><<a href="mailto:bcolloran@mozilla.com" target="_blank">bcolloran@mozilla.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In the design doc--<br>
<a href="https://docs.google.com/a/mozilla.com/document/d/1IGpzsYGi_sq3YFQDAPyKOkU_BKvXAC95fZYA2i4ceVs/edit#heading=h.kdz9l9vsn2d9" target="_blank">https://docs.google.com/a/mozilla.com/document/d/1IGpzsYGi_sq3YFQDAPyKOkU_BKvXAC95fZYA2i4ceVs/edit#heading=h.kdz9l9vsn2d9</a><br>
-- we have the following:<br>
<br>
"""<br>
Ping Retention and Upload<br>
<br>
Pings are saved on the client for a period of time (180 days for main<br>
pings; may be shorter for other pings types). As soon as a ping is<br>
complete, it is sent to the Mozilla analysis server. In case of<br>
sending errors, the client will retry several times. The client<br>
assumes that once it has received a 200/201/202 HTTP response for a<br>
ping, that it has been received successfully.<br>
"""<br>
<br>
I thought we'd discussed the need to keep trying to resubmit a session<br>
fragment until an ack is received (i.e., two times will not<br>
necessarily be enough). I would certainly be worried about data loss<br>
if we make at most two submission attempts.<br></blockquote><div><br><br>My confusion begins. I understand Android best, so I'll speak to what we do there. We should not lose FHR data even if some long sequence of submission attempts fails, because the FHR document rolls up 180 days of data. So if you fail all day Monday but succeed on Tuesday, you still see Monday in Tuesday's submission. Our policy merely means we won't hammer your connection failing to upload; we'll try 3 times a day, everyday. I haven't a clue how this interacts with Telemetry. I would note that whatever retry policy we implement, we must assume that devices will be disconnected for arbitrarily long periods of time.<br><br>Yours,<br>Nick</div></div><br></div></div>