Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-3730

Fix RocksDB Local Directory Initialization

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      The test that checks whether a directory is viable is not correct and the tests in `RocksDBStateBackendConfigTest` fail to catch them: `testFailWhenNoLocalStorageDir()` and `testContinueOnSomeDbDirectoriesMissing()`

      The problem is that the backend tests whether the dir exists or can be created. The tests create the directory and set it to non-writable. This means that the check accepts these. The job would only fail later when actually trying to create a directory in the initialized data directory.

        Attachments

          Activity

            People

            • Assignee:
              aljoscha Aljoscha Krettek
              Reporter:
              aljoscha Aljoscha Krettek

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment