-
Notifications
You must be signed in to change notification settings - Fork 512
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP Upload - too much "failed to delete" file warnings #948
Comments
@Canta Thanks for catching the problem. We should implement I suggest using static logged = false;
if (!logged) {
logged = true;
LOG(WARNING) << "...";
} @Canta What do you think? |
@kqyang |
I can see this ticket was sent to backlog. Yet, I'm about deploy some http uploads to production, and without the fix for the delete warnings merged in the main repo, I'll have to build shaka from my personal fork, which I would like to avoid when dealing with production environments. If the code is OK: perhaps you could reconsider the time window for this merge? Thanks. |
Ah, sorry for missing the review. I have just merged the change. |
System info
Operating System:
Ubuntu 18.04.5 LTS (dockerized)
Shaka Packager Version:
4686454-release
Issue and steps to reproduce the problem
Related issue: #945
This is the same situation, but with other warning I didn't saw before (because my streams have a two hours long
time_shift_buffer_depth
, and needed to leave the stream online that much).While using HTTP UPLOAD, shaka packager is constantly writting this kind of messages, flooding the logs:
That's, at least once, for every chunk, for every rendition, both HLS and MPEG-DASH.
hls/base/media_playlist.cc
andmpd/base/representation.cc
do checkFile::Delete
output status, and then trigger that warning. But instead of applying changes there, I would like to suggest this other change:That way, if we need to debug deletes, we can tune up the loglevel for file class, and otherwise filetypes without delete function would not trigger constant warnings down the road.
I would like you oppinion for this @kqyang before commit. I guess it's fine, but I don't know if that behaviour change would trigger any side effects.
Packager Command:
What is the expected result?
Just upload using HTTP, without all those warnings.
What happens instead?
A flood of warnings in the logs.
The text was updated successfully, but these errors were encountered: