[ https://issues.apache.org/jira/browse/NIFI-11117?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17682698#comment-17682698 ]
ASF subversion and git services commented on NIFI-11117: -------------------------------------------------------- Commit 92ccb79670fd5990d915cb3d5c7b7eb0bb182b52 in nifi's branch refs/heads/main from krisztina-zsihovszki [ https://gitbox.apache.org/repos/asf?p=nifi.git;h=92ccb79670 ] NIFI-11117 Remove folder creation from PutGoogleDrive This closes #6910. Signed-off-by: Peter Turcsanyi <turcsa...@apache.org> > Remove folder creation from PutGoogleDrive > ------------------------------------------ > > Key: NIFI-11117 > URL: https://issues.apache.org/jira/browse/NIFI-11117 > Project: Apache NiFi > Issue Type: Bug > Reporter: Zsihovszki Krisztina > Assignee: Zsihovszki Krisztina > Priority: Major > > PutGoogleDrive implementation offers a possibility to > [create|https://github.com/apache/nifi/blob/main/nifi-nar-bundles/nifi-gcp-bundle/nifi-gcp-processors/src/main/java/org/apache/nifi/processors/gcp/drive/PutGoogleDrive.java#L149] > the specified subfolder in case it does not exist yet. > Creation of non existing subfolder(s) may produce duplicate folders in Google > Drive in case NiFi is running in a clustered environment. > Even if NiFi checks whether a folder exists or not, it may happen that two > NiFi instances check folder existence, find that folder does not exist and > attempt to create the folder at the same time. In such case two folders are > created with the same name. (Google Drive lets us to create folders, files > with the same name.) > Since no error is thrown by Google Drive, NiFi can not ensure that the Google > Drive folders are created only once. -- This message was sent by Atlassian Jira (v8.20.10#820010)