[Bugs] [Bug 1475255] [Geo-rep]: Geo-rep hangs in changelog mode
bugzilla at redhat.com
bugzilla at redhat.com
Wed Jul 26 10:22:33 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1475255
--- Comment #1 from Kotresh HR <khiremat at redhat.com> ---
Easy reproducer:
1. Create gluster volume and enable changelog
'gluster vol set <volname> changelog on
'gluster vol set <volname> changelog.rollover-time 5'
2. Export path to libgfchangelog.pc
export PKG_CONFIG_PATH="/usr/local/lib/pkgconfig/"
3. Compile the get-changes.c located in
"xlators/features/changelog/lib/examples/c/get-changes.c" as below.
gcc -g -o getchanges `pkg-config --cflags libgfchangelog` get-changes.c
`pkg-config --libs libgfchangelog`
4. Run getchanges.
5. In other terminal, mount the gluster volume and touch a file. After 5 secs,
you should see the path of changelog file in getchanges. But it's hanging
and pring the changelog path
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=Sa9LrpTVbr&a=cc_unsubscribe
More information about the Bugs
mailing list