glusterfs/tests/bugs
shishir gowda 164c9586ae cluster/distribute: Preserve file size during rebalance migration
If holes are encountered, then we do not write these to the dst,
which sometimes causes file size to be lesser than src. Data is not
corrupted, as when non-zero reads are received, we do write that data.

Calling a truncrate to give file size to prevent it from being
truncated to less than src in case the file end has holes.

Thanks to Brian Foster for providing the test case

Change-Id: I3cdd143b63ec8d797273d76189dff8b05eb9e551
BUG: 915554
Signed-off-by: shishir gowda <sgowda@redhat.com>
Reviewed-on: http://review.gluster.org/4574
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Anand Avati <avati@redhat.com>
2013-02-25 23:01:28 -08:00
..
859927 cluster/afr: Empty string should not be default option val 2012-12-05 15:35:47 -08:00
886998 cluster/afr: Remove strict-readdir implementation 2013-01-23 01:26:09 -08:00
bug-857330 tests: Fix tests for bug 857330 2013-01-17 20:56:28 -08:00
bug-000000.t tests: pre-commit regression tests 2012-10-18 14:17:25 -07:00
bug-762989.t tests/bugs/bug-762989.t: do not check the listening ports 2013-02-08 17:39:02 -08:00
bug-765230.t glusterd: Added validation function for quota-timeout. 2013-02-22 12:13:10 -08:00
bug-765564.t cluster/afr: if a subvolume is down wind the lock request to next 2013-01-29 12:50:55 -08:00
bug-767095.t debug/error-gen : Added dumpops to print private values of error-gen in the statedump. 2012-11-29 13:34:32 -08:00
bug-782095.t glusterd: Added validation function for performance cache max and min size. 2013-02-19 18:58:30 -08:00
bug-797171.t glusterfs : Moved option files, and statedumps from /tmp 2013-01-29 15:27:29 -08:00
bug-802417.t test: Removed "for" loop of check_xattr function. 2013-02-03 11:46:38 -08:00
bug-808400-dist.t tests: move common funtion definitions to include.rc 2013-02-22 12:12:26 -08:00
bug-808400-fcntl.c mount/fuse: add test cases for lock migration 2012-11-27 22:45:02 -08:00
bug-808400-flock.c mount/fuse: add test cases for lock migration 2012-11-27 22:45:02 -08:00
bug-808400-repl.t tests: move common funtion definitions to include.rc 2013-02-22 12:12:26 -08:00
bug-808400-stripe.t tests: move common funtion definitions to include.rc 2013-02-22 12:12:26 -08:00
bug-808400.t tests: move common funtion definitions to include.rc 2013-02-22 12:12:26 -08:00
bug-811493.t glusterd, cli: implement gluster system uuid reset command 2012-11-28 16:28:55 -08:00
bug-821056.t Tests: Disable open-behind 2013-02-19 16:09:07 -08:00
bug-822830.t libglusterfs: Fixed valid_ipv4_address and valid_host_name 2013-02-25 19:52:25 -08:00
bug-823081.t cli: cmd history echoes the last command string word twice with --mode=script 2012-12-07 17:11:12 -08:00
bug-824753-file-locker.c features/locks : Made changes to display brick information on clearing locks. 2012-12-18 15:45:22 -08:00
bug-824753.t features/locks : Made changes to display brick information on clearing locks. 2012-12-18 15:45:22 -08:00
bug-830665.t tests/bug-830665: use the default H0 2012-12-04 14:43:15 -08:00
bug-834465.c libglusterfs: Fix memory leaks in fd_lk_insert_and_merge 2013-02-17 17:03:40 -08:00
bug-834465.t tests: move common funtion definitions to include.rc 2013-02-22 12:12:26 -08:00
bug-839595.t tests: Add volume set tests for quorum 2012-11-23 23:27:55 -08:00
bug-844688.t libglusterfs/core: dump frame and callstack creation times in statedump 2013-02-06 12:18:49 -08:00
bug-845213.t protocol/client: add an option to filter O_DIRECT flag in open 2012-11-28 03:37:03 -08:00
bug-846240.t tests/fileio.rc: library for file descriptor based IO in tests 2013-02-21 23:26:57 -08:00
bug-847622.t ACLv3 - Access Control Lists V3 2012-11-13 23:24:46 -08:00
bug-848251.t features/quota: Failure of quota commands if the dir-name contains ':' in it 2012-11-09 02:44:04 -08:00
bug-852147.t glusterd: Made log-rotate use synctask framework. 2013-02-13 17:46:59 -08:00
bug-853258.t dht: better layout-optimization algorithm 2013-02-07 08:27:40 -08:00
bug-853680.t perf/io-threads: least-rate-limit least priority throttling 2012-11-21 13:49:47 -08:00
bug-853690.t afr: handle short writes in afr_writev_wind and self-heal to avoid corruption 2012-11-29 09:00:28 -08:00
bug-856455.t cluster/dht: pathinfo xattr changes for directories 2013-02-08 19:09:46 -08:00
bug-858215.t glusterfs : Moved option files, and statedumps from /tmp 2013-01-29 15:27:29 -08:00
bug-858242.c performance/io-cache: propagate errors while unwinding frame in 2013-01-29 11:01:34 -08:00
bug-858242.t tests: move common funtion definitions to include.rc 2013-02-22 12:12:26 -08:00
bug-858488-min-free-disk.t cluster/dht: Correct min_free_disk behaviour 2013-02-04 08:43:50 -08:00
bug-859927.t glusterd: fail vol set when value = empty string/string with all whitespaces 2012-12-10 14:18:17 -08:00
bug-860297.t Revert "glusterd: add "volume label" command" 2012-12-04 16:27:48 -08:00
bug-860663.t tests: Test the exit status of touch 2012-12-02 21:39:06 -08:00
bug-861015-index.t Tests: Check that stale indices are removed on heal-info 2013-01-22 19:44:17 -08:00
bug-861015-log.t Test to check if inode-link failures appear 2013-01-21 22:08:42 -08:00
bug-861542.t cli: output xml in pretty format 2013-01-16 23:59:48 -08:00
bug-861945.t gsyncd / geo-rep: do not start geo-rep if replace brick is in progress 2012-12-11 16:26:52 -08:00
bug-862834.t glusterd: synctaskize 'volume create' operation 2013-02-06 23:39:52 -08:00
bug-862967.t cluster/dht: Heal dir uid/gid 2012-11-29 13:56:11 -08:00
bug-863068.t tests: Replace mount -t glusterfs with glusterfs -s 2012-11-27 04:02:59 -08:00
bug-864222.t nfs: do not change root inode if enable-ino32 is set 2012-11-18 09:43:04 -08:00
bug-864499.t cli: XML output for "geo-replication <VOL> {start|stop}" 2012-11-23 02:08:16 -08:00
bug-864506.t cli: XML output for "gluster volume geo-replication status" 2012-11-27 22:29:10 -08:00
bug-865825.t tests: Perform self-heal in foreground 2012-12-03 00:29:49 -08:00
bug-866459.t storage/posix: Make rchecksum O_DIRECT friendly 2012-11-20 00:30:25 -08:00
bug-867252.t glusterd: fix for remove-brick on just created/stopped volumes 2012-10-24 09:49:30 -07:00
bug-867253.t bug-867253.t: do a clean umount at the end 2013-01-27 21:09:39 -08:00
bug-869724.t tests: move common funtion definitions to include.rc 2013-02-22 12:12:26 -08:00
bug-872923.t nfs: resolve parent inode during inode_loc_fill 2012-11-12 23:59:59 -08:00
bug-873367.t socket: fix SSL breakage from re/connect handling changes 2012-11-12 07:17:13 -08:00
bug-873549.t glusterd: Fix initialisation of this 2012-12-18 14:18:31 -08:00
bug-873962-spb.t cluster/afr: Fail readv on data-split-brain 2013-01-18 13:20:52 -08:00
bug-873962.t Tests: Remove 'sleep' from the test case 2013-02-08 21:59:05 -08:00
bug-874272.t NFS is picking up geo-rep's already open (read-only) file descriptor 2012-11-14 05:37:02 -08:00
bug-874498.t Put _check_key_is_zero_filled outside _xattrop_index_action 2012-11-20 22:35:49 -08:00
bug-877885.t nfs: after resolving the entry use the linked inode instead of old inode 2012-11-19 02:50:55 -08:00
bug-877992.t glusterd-hooks: Made hook runtime work with synctask'ized codepath(s) 2012-12-04 16:29:27 -08:00
bug-878873.t glusterd: Protected conf->xprt_list racy access. 2012-11-28 16:27:01 -08:00
bug-879490.t cli: Fixing the xml output in failure cases for gluster peer probe 2012-12-18 19:15:15 -08:00
bug-879494.t cli: Fixing the xml output in failure cases for gluster peer detach 2012-12-19 00:14:35 -08:00
bug-880898.t glusterd: "volume heal info" doesn't report output properly 2013-02-04 17:41:16 -08:00
bug-882278.t dht: support auto-NUFA option 2012-12-04 14:42:14 -08:00
bug-884328.t cluster/afr: Make afr quorum options visible in volume set help 2012-12-13 14:03:12 -08:00
bug-884452.t Synchronize ls-loop with main-script 2012-12-11 16:05:27 -08:00
bug-884455.t cluster/distribute: re-set layouts to prevent overlaps 2012-12-11 16:05:50 -08:00
bug-884597.t cluster/dht: Create linkfile with file uid/gid 2013-02-13 16:17:44 -08:00
bug-887098-gmount-crash.t system/posix-acl: prevent NULL pointer dereference of group_ce 2012-12-26 23:03:06 -08:00
bug-887145.t rpc: bring in root-squashing behavior in rpc 2013-02-17 12:01:55 -08:00
bug-888174.t Tests: Explicitly set eager-lock on 2013-02-08 19:20:09 -08:00
bug-889996.t glusterd: harden 'volume start' staging to check for brick dirs' presence 2013-02-08 19:13:36 -08:00
bug-892730.t afr: conditionally prioritize EIO errors over ENOENT 2013-01-18 09:32:21 -08:00
bug-893338.t cluster/dht: stack wind with cookie 2013-01-31 17:18:03 -08:00
bug-893378.t cluster/distribute: If cached_subvol is down, return ENOTCONN in lookup 2013-01-21 12:03:03 -08:00
bug-895235.t Tests: Fix latency calculation 2013-01-28 18:45:11 -08:00
bug-902610.t cluster/distribute: get_layout should account only available subvols 2013-01-23 23:43:39 -08:00
bug-903336.t debug/io-stats: Handle open failures gracefully 2013-01-23 22:10:43 -08:00
bug-905307.t mgmt/glusterd: Expose post-op-delay through cli 2013-01-28 23:25:34 -08:00
bug-905864.c locks: Protected racy (read) access of ext_list 2013-02-03 12:16:07 -08:00
bug-905864.t tests: Made changes to verify if any of the bricks crashed 2013-02-04 08:45:09 -08:00
bug-908146.t Tests: Disable open-behind 2013-02-19 16:09:07 -08:00
bug-912564.t distribute: add hash-name-regex option 2013-02-18 20:50:48 -08:00
bug-913051.t cluster/afr: Don't queue transactions during open-fd fix 2013-02-22 21:03:03 -08:00
bug-913487.t glusterd: use gf_strdup() in place of strdup() 2013-02-21 06:26:42 -08:00
bug-913544.t call-stub: remove fall-through in ftruncate 2013-02-21 06:18:52 -08:00
bug-913555.t glusterd: allow multiple instances of glusterd on one machine 2013-02-21 17:27:56 -08:00
bug-915554.t cluster/distribute: Preserve file size during rebalance migration 2013-02-25 23:01:28 -08:00
getlk_owner.c features/locks: fcntl(3) on F_GETLK must return first conflicting lock 2012-11-18 22:43:59 -08:00
overlap.py dht: better layout-optimization algorithm 2013-02-07 08:27:40 -08:00