Bug 1019752
Summary: | [Quota] quota failes generate alerts on the slave in a geo-rep setup even after slave has crossed soft-limit | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Vijaykumar Koppad <vkoppad> |
Component: | quota | Assignee: | krishnan parthasarathi <kparthas> |
Status: | CLOSED WONTFIX | QA Contact: | storage-qa-internal <storage-qa-internal> |
Severity: | high | Docs Contact: | |
Priority: | medium | ||
Version: | 2.1 | CC: | david.macdonald, grajaiya, nsathyan, rhs-bugs, storage-qa-internal, vagarwal, vbellur, vmallika |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Known Issue | |
Doc Text: |
Expected behavior of quota:
If the rate of I/O is more than the value of hard-timeout and soft-timeout, there is possibility of quota limit being exceeded
For example:
If the rate of IO is 1GB/sec
If hard-timeout is set to 5sec (default value).
If soft-timeout is set to 60sec (default value).
Then we may exceed quota limit by ~30GB - 60GB
In order to attain a strict checking of quota limit, then you need to lower the value of hard-timeout and soft-timeout
Command to set timeout:
gluster volume quota <volume-name> soft-timeout 0
gluster volume quota <volume-name> hard-timeout 0
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-01-16 08:09:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1182890, 1182921 | ||
Bug Blocks: |
Description
Vijaykumar Koppad
2013-10-16 11:01:28 UTC
It is consistently reproducible. steps I followed. 1. create and start a geo-rep relationship between master and slave 2. set the quota limit-usage on the slave to 110M. 3. create data on the master using the command, "./crefi.py -n 10 --multi -d 10 -d 10 --size=100K /mnt/master/", which will create 1000 file of size 100KB, which will create some 98M data on the master. 4. Let it sync to slave. 5. Soft-limit set on slave by default is 80%, 80% of 110 is 88 and 98 should have logged alert. 6, It didn't have any logs. Per discussion with Shanks/Saurabh, moving it to Corbett Per dev bug triage, moving it to future This needs to be documented: When the quota hard-timeout is set to default value of 30, the quota limit is checked once in 30 seconds and during that 30 second time window there is possibility of quota hard-limit being exceeded. In order to attain a strict checking of quota limit it is recommended to set the quota soft-timeout and hard-timeout to lower value so that quota limit is checked frequently, and possibility of quota hard-limit being exceeded is reduced. |