Bug 1350365 - Sharding may create shards beyond it's size
Summary: Sharding may create shards beyond it's size
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: GlusterFS
Classification: Community
Component: sharding
Version: mainline
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact: bugs@gluster.org
URL:
Whiteboard:
Depends On:
Blocks: 1350407
TreeView+ depends on / blocked
 
Reported: 2016-06-27 09:45 UTC by Pranith Kumar K
Modified: 2019-05-09 20:00 UTC (History)
3 users (show)

Fixed In Version: glusterfs-6.x
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1350407 (view as bug list)
Environment:
Last Closed: 2019-05-09 20:00:36 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Pranith Kumar K 2016-06-27 09:45:04 UTC
Description of problem:
In comments of the patch http://review.gluster.org/14623, Krutika found that this bug needs to be fixed. Raising this bug to track this issue.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Niels de Vos 2016-06-27 11:28:38 UTC
From a comment in http://review.gluster.org/14623:

> > > With this patch, we run the risk of creating extra shards (beyond the
> > > size of the file) leading to unlink/rename missing to delete the shard.
> > 
> > Yes, Reads shoudn't create shards. If we take care of that, it will be
> > fixed.
> > 
> Is there a bug for this? I guess should only include this patch and the fix
> for the mentioned problem in stable branches when both fixes are available?

I will raise a bug for that. Without this patch Hyper-convergence feature won't
work at all on gluster because of o-direct files writes. So merge this patch as
without it, 3.7 works, master works but 3.8 will be broken.

Comment 2 Amar Tumballi 2019-05-09 20:00:36 UTC
Sharding has been working fine in Hyperconverged setup for a long time now. Marking it as WORKSFORME. Reopen if this is still an issue.


Note You need to log in before you can comment on or make changes to this bug.