Project

General

Profile

Actions

Bug #40527

open

merge_from: both pgs incomplete but incorrectly uses the source

Added by Sage Weil almost 5 years ago. Updated over 4 years ago.

Status:
Need More Info
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

this one has me scratching my head...

 -1034> 2019-06-22T11:25:29.642+0000 7f7995a2c700  1 osd.2 258 advance_pg merging 2.4
 -1033> 2019-06-22T11:25:29.642+0000 7f7995a2c700 10 osd.2 pg_epoch: 257 pg[2.4( empty local-lis/les=0/0 n=0 ec=21/21 lis/c 210/210 les/c/f 211/211/0 254/256/255) [1,0] r=-1 lpr=256 pi=[210,256)/1 crt=0'0 unknown NOTIFY mbc={}] merge_from from {2.14=0xdb91400} split_bits 4
 -1031> 2019-06-22T11:25:29.642+0000 7f7995a2c700 10 osd.2 pg_epoch: 257 pg[2.4( empty local-lis/les=0/0 n=0 ec=21/21 lis/c 210/210 les/c/f 211/211/0 254/256/255) [1,0] r=-1 lpr=256 pi=[210,256)/1 crt=0'0 unknown NOTIFY mbc={}] merge_from target version doesn't match expected 248'102
 -1030> 2019-06-22T11:25:29.642+0000 7f7995a2c700 10 trim proposed trim_to = 0'0
 -1029> 2019-06-22T11:25:29.642+0000 7f7995a2c700 10 osd.2 pg_epoch: 257 pg[2.4( empty local-lis/les=0/0 n=0 ec=21/21 lis/c 210/210 les/c/f 211/211/0 254/256/255) [1,0] r=-1 lpr=256 pi=[210,256)/1 crt=0'0 unknown NOTIFY mbc={}] merge_from source 2 incomplete
 -1028> 2019-06-22T11:25:29.642+0000 7f7995a2c700 10 osd.2 pg_epoch: 257 pg[2.4( empty local-lis/les=0/0 n=0 ec=21/21 lis/c 210/210 les/c/f 211/211/0 254/256/255) [1,0] r=-1 lpr=256 pi=[210,256)/1 crt=0'0 unknown NOTIFY mbc={}] merge_from source version doesn't match expected 248'102
 -1027> 2019-06-22T11:25:29.642+0000 7f7995a2c700 10 trim proposed trim_to = 0'0

so far so good, but hte next line is
 -1026> 2019-06-22T11:25:29.642+0000 7f7995a2c700 10 osd.2 pg_epoch: 257 pg[2.4( DNE empty lb MIN (NIBBLEWISE) local-lis/les=0/257 n=0 ec=0/0 lis/c 0/0 les/c/f 257/257/0 0/0/0) [1,0] r=-1 lpr=256 pi=[210,256)/1 crt=0'0 unknown NOTIFY mbc={}] merge_from set les/c to 257/257 from pool last_dec_*, source pg history was ec=0/0 lis/c 0/0 les/c/f 0/0/0 0/0/0

but that path of code is only taken if info.last_epoch_started == 0, and I can see nothing in merge_from that would clear it. :/

/a/sage-2019-06-21_16:36:51-rados:thrash-wip-sage2-testing-2019-06-20-2154-distro-basic-smithi/4057753

Actions #1

Updated by Josh Durgin over 4 years ago

  • Priority changed from High to Normal
Actions

Also available in: Atom PDF