Uploaded image for project: 'Mesos'
  1. Mesos
  2. MESOS-3798

io::write(fd, const string&) api writes junk sometimes

Attach filesAttach ScreenshotVotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • libprocess
    • osx

    Description

      This was noticed during registry client test( please see MESOS-3773).A brief summary :

      1. open a file with flags " O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC" and mode "S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH)",

      2. Call write(fd, string).

      This causes junk to be written every once in a while to the beginning of the file.

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jojy Jojy Varghese
            jojy Jojy Varghese
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment