Red Hat Bugzilla – Bug 1290670
High(hi) watermark not being abided to
Last modified: 2017-03-25 10:23:21 EDT
I have set watermarks low to 1%(~200MB) and hi as 5%(~1GB) with my hot tier being about 20GB(1x2 hot tier over (4+2)+2 ec vol)
it is also noted that the total data promoted in 1 cycle was about 3GB, way above my hi watermark level.
I heated about 10files each of 700MB, but noticed that more than 6 files got promoted, given that only 2 files max should get promoted, as we will be hitting higher watermark
Attached are logs
Created attachment 1104596 [details]
summarised qe log
Kindly let me know what we mean by real use case here?Do we have them predefined. Or are we saying that like Quotas we do are going to give a scope of error delta? Till date we haven't talked defined the margin of error here. So I would assume that it should work in all cases. In this case my watermark was exceeded by 200%
Can you reproduce this with the default values (75 and 90)?
Need information on question raised at Comment 7
it does breach even with default values
karthick can you kindly check on latest build
This issue is no more seen with the GA build of RHGS 3.1.2. Following test was done to validate.
1) create a dist-rep volume
2) enable quota and set limit to / directory as 10GB
3) attached tier
4) set high watermark to 50% (i.e., 5GB) and low watermark to 20% (i.e., 20GB)
4) mounted the volume from client and used dd to create ten 1GB files
5) Files were written on hot tier
Once high watermark levels had crossed, file got demoted from hot tier to cold tier.
The watermark behavior is consistent with build - glusterfs-3.7.5-19.el7rhgs.x86_64