You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Dibyendu Karmakar (JIRA)" <ji...@apache.org> on 2018/08/09 12:30:00 UTC

[jira] [Created] (HDFS-13811) RBF: Race condition between router admin quota update and periodic quota update service

Dibyendu Karmakar created HDFS-13811:
----------------------------------------

             Summary: RBF: Race condition between router admin quota update and periodic quota update service
                 Key: HDFS-13811
                 URL: https://issues.apache.org/jira/browse/HDFS-13811
             Project: Hadoop HDFS
          Issue Type: Sub-task
            Reporter: Dibyendu Karmakar
            Assignee: Dibyendu Karmakar


If we try to update quota of an existing mount entry and at the same time periodic quota update service is running on the same mount entry, it is leading the mount table to _inconsistent state._

Here transactions are:

A - Quota update service is fetching mount table entries

B - Quota update service is updating the mount table with current usage.

A' - User is trying to update quota using admin cmd.

and the transaction sequence is [ A A' B ]

quota update service is updating the mount table with old quota value.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org