bugGluster - Bugs: bug #26416, with stripes, "option...

 
 

bug #26416: with stripes, "option block-size 1GB" does not mean "option block-size *:1GB"

Submitted by:  Erick Tryzelaar <erickt>
Submitted on:  Fri 01 May 2009 11:27:15 PM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Improper behaviour
Status: FixedPrivacy: Public
Assigned to: Amar Tumballi <amarts>Originator Name: Erick
Open/Closed: ClosedRelease: 2.0.0
Operating System: GNU/LinuxReproducibility: Every Time

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 08 May 2009 06:59:38 PM UTC, comment #1:

Thanks for reporting.

Fix for this is now in latest codebase (commit id - 5c1d9108c1529a1155963cb1911f8870a674ab5b).

release - 2.0.1 should have this fix.

Amar Tumballi <amarts>
Project MemberIn charge of this item.
Fri 01 May 2009 11:27:15 PM UTC, original submission:

In my testing I discovered that if I write a stripe translator like this:

volume stripe
type cluster/stripe
option block-size 1GB
subvolumes machine01 machine02
end-volume

and I'm copying a 4GB file into it, gluster will write that file to both locations at the same time. This is according to running dstat on both of the servers. However, if I change my volume to state:

volume stripe
type cluster/stripe
option block-size *:1GB
subvolumes machine01 machine02
end-volume

Then gluster will do what I expect and write 1GB of the file to machine01, then 1GB of the file to machine02, and repeat. Is there something broken/undocumented about what "option block-size 1GB" means? I would have expected it to be synonymous with "option block-size *:1GB".

Erick Tryzelaar <erickt>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by amarts (Posted a comment)
  • -unavailable- added by erickt (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 08 May 2009 06:59:38 PM UTCamartsStatusNone=>Fixed
      Assigned toNone=>amarts
      Originator Name=>Erick
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1