Skip to content

Fix: Presentation publishing fails when run on NFS storage - #10252

Closed
defnull wants to merge 1 commit into
bigbluebutton:developfrom
defnull:patch-1
Closed

defnull wants to merge 1 commit into
bigbluebutton:developfrom
defnull:patch-1

Conversation

@defnull

@defnull defnull commented Aug 12, 2020

Copy link
Copy Markdown
Contributor

What does this PR do?

During presentation publishing, files are opened but not closed. On NFS storage, this prevents cleanup of the parent directory after the actual work is done. The scripts fail with an Directory not empty @ dir_s_rmdir error. PR #9857 tried to fix this, but missed some spots. This PR fixes the "publish" phase, which was missed by the previous PR.

Closes Issue(s)

closes #9062
closes #9110

Both are already closed, though.

Motivation

We run a large BBB Instance on NFS storage and hat custom fixes for this issue in place. We removed the custom fixes thinking this issue is resolved. It broke again. Thus, this PR.

More

That's all.

PR bigbluebutton#9857 was incomplete and did not completely fix the issues described in bigbluebutton#9062 and bigbluebutton#9110 (dublicate).
@defnull

defnull commented Sep 7, 2020

Copy link
Copy Markdown
Contributor Author

Is there a reason why this was not included in 2.2.23 and is not planned to be released for 2.2.x? The patch is trivial, and it solves a confirmed bug. I'm not sure on how to improve this PR any further.

@basisbit basisbit left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and successfully tested in production. The performance differences of File.open vs. File.read should not matter here as only yml/xml files are read and they have to be fully read to be parsed anyways.

@basisbit

basisbit commented Dec 7, 2020

Copy link
Copy Markdown
Contributor

@defnull could you please switch this PR to the 2.2.x branch?

@defnull defnull closed this Dec 7, 2020
@defnull
defnull deleted the patch-1 branch December 7, 2020 15:14
@defnull

defnull commented Dec 7, 2020

Copy link
Copy Markdown
Contributor Author

... thanks github. I'll create a new PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Recording workflow breaks when on NFS Directory not empty @ dir_s_rmdir - /var/bigbluebutton/recording/publish/presentation

3 participants