Bug 764042 (GLUSTER-2310) - georeplication
Summary: georeplication
Keywords:
Status: CLOSED DUPLICATE of bug 763302
Alias: GLUSTER-2310
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Csaba Henk
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-21 16:44 UTC by Csaba Henk
Modified: 2011-02-11 06:17 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Csaba Henk 2011-01-21 16:44:39 UTC
A container for georeplication related commits. As of now, this boils down to:

- marker xlator
- aggregation of marks on client side
- glusterd's needed management extensions
- syncdaemon

Comment 1 Anand Avati 2011-01-27 08:16:55 UTC
PATCH: http://patches.gluster.com/patch/6060 in master (adding libxlator, to ensure proper client side aggregation of marks by clustering translators)

Comment 2 Anand Avati 2011-01-27 08:17:01 UTC
PATCH: http://patches.gluster.com/patch/6061 in master (adding marker translator)

Comment 3 Anand Avati 2011-01-27 08:17:07 UTC
PATCH: http://patches.gluster.com/patch/6064 in master (implement "--client-pid" option which can forcibly set the pid value in messages to a predefined value)

Comment 4 Anand Avati 2011-01-27 08:17:12 UTC
PATCH: http://patches.gluster.com/patch/6062 in master (volgen: add marker to brick volfiles)

Comment 5 Anand Avati 2011-01-27 08:17:17 UTC
PATCH: http://patches.gluster.com/patch/6063 in master (mgmt/glusterd: restart bricks when syncdaemon is enabled)

Comment 6 Anand Avati 2011-01-27 08:17:25 UTC
PATCH: http://patches.gluster.com/patch/6065 in master (adding syncdaemon)

Comment 7 Amar Tumballi 2011-01-28 04:03:26 UTC
Got this error while building..


In file included from /usr/include/fcntl.h:205,
                 from ../../../../../libglusterfs/src/glusterfs.h:40,
                 from ../../../../../libglusterfs/src/common-utils.h:47,
                 from ../../../../../libglusterfs/src/xlator.h:34,
                 from ../../../../../xlators/mgmt/glusterd/src/glusterd-volgen.c:28:
In function ‘open’,
    inlined from ‘generate_brick_volfiles’ at ../../../../../xlators/mgmt/glusterd/src/glusterd-volgen.c:1477:
/usr/include/bits/fcntl2.h:51: error: call to ‘__open_missing_mode’ declared with attribute error: open with O_CREAT in second argument needs 3 arguments
make[4]: *** [glusterd-volgen.lo] Error 1



Git blame on glusterd-volgen.c:1477 says recent commits in syncdaemon has caused this.


66808736 (Csaba Henk         2011-01-27 05:23:33 +0000 1476)         if (marker) {
66808736 (Csaba Henk         2011-01-27 05:23:33 +0000 1477)                 ret = open (tstamp_file, O_WRONLY|O_CREAT|O_EXCL);
66808736 (Csaba Henk         2011-01-27 05:23:33 +0000 1478)                 if (ret == -1 && errno == EEXIST)

Comment 8 Amar Tumballi 2011-01-28 04:06:51 UTC
Noticed that error didn't come when I did 'make install CFLAGS="-g -O0"' but it comes when you do just 'make install' or with flags what rpmbuild uses:

make install CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic"

Comment 9 Csaba Henk 2011-02-03 13:32:49 UTC

*** This bug has been marked as a duplicate of bug 1570 ***

Comment 10 Anand Avati 2011-02-11 03:17:22 UTC
PATCH: http://patches.gluster.com/patch/6066 in master (volgen: specify a mode argument for open(2))


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