|
|
DescriptionAvoid busy looping in case of send failure while probing.
BUG=webrtc:7255
Review-Url: https://codereview.webrtc.org/2719183004
Cr-Commit-Position: refs/heads/master@{#16908}
Committed: https://chromium.googlesource.com/external/webrtc/+/b61927c6879a21cd9b8085f3899fb1239458e969
Patch Set 1 #
Total comments: 1
Messages
Total messages: 20 (7 generated)
philipel@webrtc.org changed reviewers: + stefan@webrtc.org, tommi@chromium.org
Description was changed from ========== Avoid busy looping in case of send failure when probing. BUG=webrtc:7255 ========== to ========== Avoid busy looping in case of send failure when probing. BUG=webrtc:7255 ==========
philipel@webrtc.org changed reviewers: + tommi@webrtc.org - tommi@chromium.org
Description was changed from ========== Avoid busy looping in case of send failure when probing. BUG=webrtc:7255 ========== to ========== Avoid busy looping in case of send failure while probing. BUG=webrtc:7255 ==========
https://codereview.webrtc.org/2719183004/diff/1/webrtc/modules/pacing/paced_s... File webrtc/modules/pacing/paced_sender.cc (right): https://codereview.webrtc.org/2719183004/diff/1/webrtc/modules/pacing/paced_s... webrtc/modules/pacing/paced_sender.cc:453: probing_send_failure_ = bytes_sent == 0; Why do we fail to send?
lgtm
The CQ bit was checked by philipel@webrtc.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/...
CQ is committing da patch. Bot data: {"patchset_id": 1, "attempt_start_ts": 1488292259009350, "parent_rev": "13f54b2c5684119a1b31f172b3745cbec7229ebb", "commit_rev": "b61927c6879a21cd9b8085f3899fb1239458e969"}
Message was sent while issue was closed.
Description was changed from ========== Avoid busy looping in case of send failure while probing. BUG=webrtc:7255 ========== to ========== Avoid busy looping in case of send failure while probing. BUG=webrtc:7255 Review-Url: https://codereview.webrtc.org/2719183004 Cr-Commit-Position: refs/heads/master@{#16908} Committed: https://chromium.googlesource.com/external/webrtc/+/b61927c6879a21cd9b8085f38... ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1) as https://chromium.googlesource.com/external/webrtc/+/b61927c6879a21cd9b8085f38...
Message was sent while issue was closed.
On 2017/02/28 15:05:26, commit-bot: I haz the power wrote: > Committed patchset #1 (id:1) as > https://chromium.googlesource.com/external/webrtc/+/b61927c6879a21cd9b8085f38... Reiterating Stefan's question, Do we know why we get send errors for the probe? If not, I'd like a bug filed for that to make sure we follow up.
Message was sent while issue was closed.
On 2017/02/28 18:14:31, mflodman wrote: > On 2017/02/28 15:05:26, commit-bot: I haz the power wrote: > > Committed patchset #1 (id:1) as > > > https://chromium.googlesource.com/external/webrtc/+/b61927c6879a21cd9b8085f38... > > Reiterating Stefan's question, > Do we know why we get send errors for the probe? If not, I'd like a bug filed > for that to make sure we follow up. I am not sure if we ever fail to send while the network is up, but assuming that it can happen it would cause a busy loop. I have not seen an example where we actually fail to send.
Message was sent while issue was closed.
On 2017/03/01 09:23:53, philipel wrote: > On 2017/02/28 18:14:31, mflodman wrote: > > On 2017/02/28 15:05:26, commit-bot: I haz the power wrote: > > > Committed patchset #1 (id:1) as > > > > > > https://chromium.googlesource.com/external/webrtc/+/b61927c6879a21cd9b8085f38... > > > > Reiterating Stefan's question, > > Do we know why we get send errors for the probe? If not, I'd like a bug filed > > for that to make sure we follow up. > > I am not sure if we ever fail to send while the network is up, but assuming that > it can happen it would cause a busy loop. I have not seen an example where we > actually fail to send. Would it make sense to have histograms to report when it happens? (and possibly an error code too)
Message was sent while issue was closed.
On 2017/03/01 09:52:47, tommi (webrtc) wrote: > On 2017/03/01 09:23:53, philipel wrote: > > On 2017/02/28 18:14:31, mflodman wrote: > > > On 2017/02/28 15:05:26, commit-bot: I haz the power wrote: > > > > Committed patchset #1 (id:1) as > > > > > > > > > > https://chromium.googlesource.com/external/webrtc/+/b61927c6879a21cd9b8085f38... > > > > > > Reiterating Stefan's question, > > > Do we know why we get send errors for the probe? If not, I'd like a bug > filed > > > for that to make sure we follow up. > > > > I am not sure if we ever fail to send while the network is up, but assuming > that > > it can happen it would cause a busy loop. I have not seen an example where we > > actually fail to send. Ok, my understanding was that this was a real issue caused by send failures. > > Would it make sense to have histograms to report when it happens? (and possibly > an error code too) Yes, something like that would probably be good. Stefan, What do you think?
Message was sent while issue was closed.
On 2017/03/01 09:52:47, tommi (webrtc) wrote: > On 2017/03/01 09:23:53, philipel wrote: > > On 2017/02/28 18:14:31, mflodman wrote: > > > On 2017/02/28 15:05:26, commit-bot: I haz the power wrote: > > > > Committed patchset #1 (id:1) as > > > > > > > > > > https://chromium.googlesource.com/external/webrtc/+/b61927c6879a21cd9b8085f38... > > > > > > Reiterating Stefan's question, > > > Do we know why we get send errors for the probe? If not, I'd like a bug > filed > > > for that to make sure we follow up. > > > > I am not sure if we ever fail to send while the network is up, but assuming > that > > it can happen it would cause a busy loop. I have not seen an example where we > > actually fail to send. Ok, my understanding was that this was a real issue caused by send failures. > > Would it make sense to have histograms to report when it happens? (and possibly > an error code too) Yes, something like that would probably be good. Stefan, What do you think?
Message was sent while issue was closed.
On 2017/03/01 16:53:08, mflodman wrote: > On 2017/03/01 09:52:47, tommi (webrtc) wrote: > > On 2017/03/01 09:23:53, philipel wrote: > > > On 2017/02/28 18:14:31, mflodman wrote: > > > > On 2017/02/28 15:05:26, commit-bot: I haz the power wrote: > > > > > Committed patchset #1 (id:1) as > > > > > > > > > > > > > > > https://chromium.googlesource.com/external/webrtc/+/b61927c6879a21cd9b8085f38... > > > > > > > > Reiterating Stefan's question, > > > > Do we know why we get send errors for the probe? If not, I'd like a bug > > filed > > > > for that to make sure we follow up. > > > > > > I am not sure if we ever fail to send while the network is up, but assuming > > that > > > it can happen it would cause a busy loop. I have not seen an example where > we > > > actually fail to send. > > Ok, my understanding was that this was a real issue caused by send failures. > > > > > Would it make sense to have histograms to report when it happens? (and > possibly > > an error code too) > > Yes, something like that would probably be good. > > Stefan, > What do you think? Can we instead try to remove the path where we failed to send? I have doubts of whether it even can happen.
Message was sent while issue was closed.
On 2017/03/01 16:56:01, stefan-webrtc wrote: > On 2017/03/01 16:53:08, mflodman wrote: > > On 2017/03/01 09:52:47, tommi (webrtc) wrote: > > > On 2017/03/01 09:23:53, philipel wrote: > > > > On 2017/02/28 18:14:31, mflodman wrote: > > > > > On 2017/02/28 15:05:26, commit-bot: I haz the power wrote: > > > > > > Committed patchset #1 (id:1) as > > > > > > > > > > > > > > > > > > > > > https://chromium.googlesource.com/external/webrtc/+/b61927c6879a21cd9b8085f38... > > > > > > > > > > Reiterating Stefan's question, > > > > > Do we know why we get send errors for the probe? If not, I'd like a bug > > > filed > > > > > for that to make sure we follow up. > > > > > > > > I am not sure if we ever fail to send while the network is up, but > assuming > > > that > > > > it can happen it would cause a busy loop. I have not seen an example where > > we > > > > actually fail to send. > > > > Ok, my understanding was that this was a real issue caused by send failures. > > > > > > > > Would it make sense to have histograms to report when it happens? (and > > possibly > > > an error code too) > > > > Yes, something like that would probably be good. > > > > Stefan, > > What do you think? > > Can we instead try to remove the path where we failed to send? I have doubts of > whether it even can happen. My email didn't make it to the cr, so sending again in case we could just add a CHECK() instead of being uncertain: "What we know is that we didn't handle it and no data on whether or not it actually happens. I'd prefer to know. If there's a way to know for sure, then that would be good. If you're sure Stefan, we could just RTC_CHECK that it doesn't and then we don't have to worry about error codes etc."
Message was sent while issue was closed.
On 2017/03/09 19:07:58, tommi (webrtc) wrote: > On 2017/03/01 16:56:01, stefan-webrtc wrote: > > On 2017/03/01 16:53:08, mflodman wrote: > > > On 2017/03/01 09:52:47, tommi (webrtc) wrote: > > > > On 2017/03/01 09:23:53, philipel wrote: > > > > > On 2017/02/28 18:14:31, mflodman wrote: > > > > > > On 2017/02/28 15:05:26, commit-bot: I haz the power wrote: > > > > > > > Committed patchset #1 (id:1) as > > > > > > > > > > > > > > > > > > > > > > > > > > > > https://chromium.googlesource.com/external/webrtc/+/b61927c6879a21cd9b8085f38... > > > > > > > > > > > > Reiterating Stefan's question, > > > > > > Do we know why we get send errors for the probe? If not, I'd like a > bug > > > > filed > > > > > > for that to make sure we follow up. > > > > > > > > > > I am not sure if we ever fail to send while the network is up, but > > assuming > > > > that > > > > > it can happen it would cause a busy loop. I have not seen an example > where > > > we > > > > > actually fail to send. > > > > > > Ok, my understanding was that this was a real issue caused by send failures. > > > > > > > > > > > Would it make sense to have histograms to report when it happens? (and > > > possibly > > > > an error code too) > > > > > > Yes, something like that would probably be good. > > > > > > Stefan, > > > What do you think? > > > > Can we instead try to remove the path where we failed to send? I have doubts > of > > whether it even can happen. > > My email didn't make it to the cr, so sending again in case we could just add a > CHECK() instead of being uncertain: > > "What we know is that we didn't handle it and no data on whether or not it > actually happens. I'd prefer to know. If there's a way to know for sure, then > that would be good. If you're sure Stefan, we could just RTC_CHECK that it > doesn't and then we don't have to worry about error codes etc." I'm not sure, but given how our sockets are implemented I believe there should be no errors propagated back up through return values. I'll see if I can add a CHECK. |