[LU-10155] File creation with 'lfs setstripe' is not replayable Created: 24/Oct/17 Updated: 31/Jan/18 Resolved: 31/Jan/18 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | Lustre 2.11.0 |
| Fix Version/s: | Lustre 2.11.0 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Mikhail Pershin | Assignee: | Lai Siyao |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
|
File created with 'lfs setstripe' cannot recover from failover. Simple test like the one below fails: test_00() {
replay_barrier $SINGLEMDS
$LFS setstripe -c 2 $DIR/$tfile
fail $SINGLEMDS
$CHECKSTAT -t file $DIR/$tfile ||
error "$CHECKSTAT $DIR/$tfile check failed"
}
At first sign the file is not re-created due to problem with LOV EA supplied along with replay, it says LOV MAGIC is 0. |
| Comments |
| Comment by Andreas Dilger [ 24/Oct/17 ] |
|
Mike, do you know when this problem was introduced? How is it possible that this wasn't detected by our testing? |
| Comment by Joseph Gmitter (Inactive) [ 24/Oct/17 ] |
|
Hi Lai, Can you please investigate? Thanks. |
| Comment by Jinshan Xiong (Inactive) [ 24/Oct/17 ] |
|
A recent change to this area of code is |
| Comment by Mikhail Pershin [ 24/Oct/17 ] |
|
I have tried to revert that patch but it doesn't help |
| Comment by Lai Siyao [ 04/Jan/18 ] |
|
I can't reproduce in latest master, maybe this was fixed in other tickets, but anyway I'll add this test into replay-single.sh. |
| Comment by Gerrit Updater [ 04/Jan/18 ] |
|
Lai Siyao (lai.siyao@intel.com) uploaded a new patch: https://review.whamcloud.com/30704 |
| Comment by Gerrit Updater [ 31/Jan/18 ] |
|
Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/30704/ |
| Comment by Peter Jones [ 31/Jan/18 ] |
|
Mark as resolved for now I suppose - we will reopen if the test starts failing now it is landed |