一什么野菜| 低蛋白血症吃什么最快| 白羊座男和什么星座最配| mj是什么意思| 暗物质是什么东西| 溦是什么意思| 碧螺春属于什么茶| 胁迫是什么意思| 亚麻籽和什么相克| 身上痒是什么情况| 色纸是什么| 眼皮肿痛什么原因| 憧憬未来是什么意思| 金箔金命是什么意思| 手发抖是什么病| 容易头晕是什么原因| 腰间盘突出挂什么科| 老年人总睡觉是什么原因| 什么节吃饺子| 鸡眼长什么样| 腿疼去医院挂什么科| 什么样的人不容易怀孕| 咳嗽一直不好是什么原因| 血热吃什么药效果好| 理疗是什么意思| 结核是什么| 路人皆知的上一句歇后语是什么| 感康是什么| 气管炎不能吃什么食物| 喉炎吃什么药效果最好| 肥皂是什么做的| 十月份是什么星座的| 肌电图主要检查什么病| 液化是什么意思| 小孩腿疼膝盖疼可能是什么原因| 汽化是什么意思| 个体户是什么职业| 色盲的世界是什么颜色| 牟作为姓氏时读什么| iva是什么意思| 扁桃体肿大有什么症状| 看肾挂什么科| 生肖本命带红花是什么生肖| 钠低是什么原因造成的| 弘字五行属什么| 容易淤青的体质叫什么| c反应蛋白高吃什么药| 嗯是什么意思| 十月十九是什么星座| 缩量十字星意味着什么| 今天是什么节气| 女生下体长什么样| 皇帝为什么自称朕| 为什么小孩子有白头发| 寿辰是什么意思| 吃什么对肝脏有好处能养肝| 肾囊肿用什么药| 鄙人什么意思| 睡觉被憋醒是什么原因| dym是什么意思| 牙痛是什么原因| 建设性意见是什么意思| 痛经吃什么水果能缓解疼痛| 心脏除颤是什么意思| Ca是什么| 吃什么药可以延长性功能| 华妃娘娘是什么电视剧| 高密度脂蛋白胆固醇低是什么意思| 孩子注意力不集中是什么原因| 小蓝片是什么| 发炎是什么原因引起的| 疱疹是什么原因引起| 肾火旺有什么症状| 侧写是什么意思| 生辰八字五行缺什么| 口腔溃疡是什么引起的| 网是什么结构的字| 妮子什么意思| 慕斯蛋糕是什么意思| 张良为什么不救韩信| 乔迁礼物应该送什么| 什么是人肉搜索| ochirly是什么品牌| 8.26是什么星座| 胡巴是什么| 1950年属虎的是什么命| 祝著节是什么时候| 大运正官是什么意思| 什么植物和动物像鸡| 产后腰疼是什么原因| 产后42天挂什么科| 甲亢能吃什么| 吃的多拉的少是什么原因| 不屑一顾的意思是什么| 奸诈是什么意思| 6月17日什么星座| 巴黎世家是什么档次| 犯月是什么意思| 多出汗是什么原因| 拉格啤酒是什么意思| 子是什么生肖| 眼睛黄是什么病| 毛血旺是什么| 葫芦什么时候种最好| 肌肉溶解是什么意思| 大肝功能是检查什么| 辩证是什么意思| 气血不足吃什么比较好| 化学阉割什么意思| mpa是什么意思呀| 尿胆红素阳性是什么意思| 女人吃桃子有什么好处和坏处| 月经不正常是什么原因| 缺铁性贫血吃什么水果| 上海什么房子不限购| 不问世事什么意思| 肚子疼腹泻是什么原因| 忠实是什么意思| 青头鸭和什么煲汤最好| abo是什么血型| 女人梦见狗是什么预兆| 什么的回答| 人中有痣代表什么| 至死不渝下一句是什么| 7月12日是什么日子| 胆囊切除有什么后遗症| 淡蓝色配什么颜色好看| 挖矿是什么| 肝脑涂地是什么意思| 尿肌酐高是什么原因引起的| 康复治疗学什么| edg是什么意思| 鸡五行属什么| 孕早期吃什么| o型血为什么招蚊子| 搬家送什么礼物最好| 皮蛋为什么含铅| 幼小衔接班是什么意思| 秦朝灭亡后是什么朝代| 怀孕初期需要注意什么| 涵五行属什么| 贼不走空什么意思| 深是什么生肖| 什么的草原| 脑膜炎吃什么药| 用纸盒能做什么手工| 中国梦是什么意思| 褪黑素什么时候吃| 经常手淫会导致什么| 什么地眨眼| r商标是什么意思| 风吹动窗吹动夜声响是什么歌| 静脉曲张用什么药| 右眼老跳是什么原因| 移徒什么意思| 南昌有什么好玩的地方| 胎位loa是什么位置| 拔牙后吃什么药| 尿不尽是什么症状| 浮云是什么意思| 吐信子是什么意思啊| 不来月经吃什么药催经| 乙肝是什么病严重吗| 轻歌曼舞是什么意思| 早泄用什么药| 什么情况下会流前列腺液| 月经期同房有什么危害| 孕妇感冒可以吃什么感冒药| 声音嘶哑吃什么药好| 称心如意是什么意思| 四月初八是什么节日| 申是什么生肖| 口舌生疮吃什么药最好| pro是什么氨基酸| 什么是性质| 宫颈萎缩意味着什么| hi什么意思| 张起灵和吴邪什么关系| 引力是什么| 妇科彩超主要检查什么| 胃疼喝什么药| 玉佛寺求什么最灵验| 鼻炎吃什么| 金牛男最烦什么女孩| 肝主筋的筋是指什么| 太上皇是什么意思| 养流浪猫需要注意什么| 一点小事就暴躁的人是什么病| 六月属什么生肖| 17088a是什么尺码男装| 农历什么意思| 夜间睡觉流口水是什么原因| 怀孕肚皮痒是什么原因| 痦子和痣有什么区别| 肚子疼腹泻是什么原因| 什么零食热量低有利于减肥| 去湿气喝什么| 南京立秋吃什么| 鸡生肖配什么生肖最好| 吃什么补精最快| 胃不好喝什么茶| 狐臭什么味| pagani是什么车| 参谋长是什么级别| 脂蛋白高是什么原因| 惟字五行属什么| 腰扭伤了挂什么科| 11月15日什么星座| 尿酸高可以吃什么肉| 十二月二十号是什么星座| 皮可以加什么偏旁| 文科女生学什么专业就业前景好| 夏天吃什么水果好| 景字属于五行属什么| 珠五行属什么| 空调不制冷是什么原因| mr什么意思| 转氨酶高对身体有什么影响| 女人为什么会宫外怀孕| 摩羯是什么星座| 茶颜悦色什么好喝| 冬字五行属什么| 用什么泡水喝补肾| 胰尾显示不清什么意思| 便秘是什么意思| 电荷是什么| 反文旁和什么有关| 小儿风寒感冒吃什么药| 什么是子宫肌瘤| 梦见别人盖房子是什么预兆| ab型血可以给什么血型输血| 盐城有什么特产| 败血症是什么病| 海盐是什么盐| 医院五行属什么| 精神紊乱吃什么药| 朕是什么时候开始用的| ppb是什么单位| 见好就收是什么意思| 胸腔积液叩诊什么音| 儿童支气管炎吃什么药| 春节吃什么| 干疮是什么样子的图片| 属兔本命佛是什么佛| 30号来的月经什么时候是排卵期| 害怕是什么意思| 晚上六点是什么时辰| 空腹洗澡有什么危害| 面试要准备什么东西| 月经期同房有什么危害| 蚊子的幼虫叫什么| 口疮反复发作什么原因| 碟中谍是什么意思| 为什么男怕属鸡| 羊肉饺子馅配什么蔬菜最好吃| 梦见爆炸是什么意思| 口腔溃疡牙龈肿痛吃什么药| 鼻子一直流血是什么原因| 疏风解表的意思是什么| 子宫粘连是什么原因造成的| quest是什么车| 吃什么蛋白质含量最高| 六味地黄丸有什么用| 办护照需要什么资料| 百度

四川:梳理81个突出问题 开展八项规定精神"回头看"

Bug #62976 reported by Colin Watson
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned
pepess
Invalid
Undecided
Unassigned

Bug Description

百度 五是抓好生态文明建设。

It's still possible for two uploads with the same package name and version to land in the unapproved queue; furthermore it is then possible to simultaneously accept both of them. Neither of these should be allowed.

OOPS-2018FTPMASTERPUBLISH1

Revision history for this message
Celso Providelo (cprov) wrote :

That's unfortunatelly right ...

As we discussed on IRC, the fact we allow dups in NEW & UNAPPROVED is annoying, but the fix will require a fix in nascentupload workflow which we are trying to keep quiet until we land ArchiveRework (because the code will need redesign for PPA anyway).

My suggestion is to workaround this situation with two fixes:

 * Materialize the state updates for each item inside the queue action batch, so the already existent lookup will find the just-modified candidate (this is a bug in previous implementation, one line fix)

 * Fix queue "fetch" action to use ID as a tie-breaker when writing dupes to disk, so foo_1.0.dsc will become foo_1.0.dsc-<ID> if it is already in disk.

Kamion, would you be satisfied (for a while) with this alternative plan ?

Changed in soyuz:
assignee: nobody → cprov
importance: Undecided → High
status: Unconfirmed → Confirmed
Revision history for this message
Colin Watson (cjwatson) wrote :

I'm not sure I understand your first fix. If it means "if an upload is already in the unapproved queue, then reject it", then that sounds good. If not, could you please explain further?

Please don't apply your second fix! If you munge the filenames around, then debdiff won't work properly because the filenames in the Files: sections of the .dsc files will be wrong, making 'queue fetch' largely useless. Please just make 'queue fetch' refuse to fetch an item if the files it wants to write already exist.

Revision history for this message
Celso Providelo (cprov) wrote :

You did, the code to refuse (name, version) duplication in ACCEPTED queue is already in place, but it doesn't work inside the same batch ("queue accept foo").

Ok, I didn't think about the filename mess with debdiff, thank you for pointing it.
The second fix will become:

 * Refuse to fetch queue items which will generate disk file overwrite (warn the user about the conflict)

Is it better ?

Revision history for this message
Celso Providelo (cprov) wrote :

prototype almost done in my `queue-ui`

Changed in soyuz:
status: Confirmed → In Progress
Revision history for this message
Celso Providelo (cprov) wrote :

Workaround split into bug #65052, will keep this one as Confirmed/High, so it can be addressed properly soon.

Changed in soyuz:
assignee: cprov → nobody
status: In Progress → Confirmed
Revision history for this message
Robert Collins (lifeless) wrote :

@Julian I think this is the earliest bug showing that the data model permits duplicates we want to avoid - possibly not the one blocking parallel uploaders, but related closely perhaps?

tags: added: rfwtad
Revision history for this message
Julian Edwards (julian-edwards) wrote :

Rob, yes pretty much. See also bug 556839

Revision history for this message
William Grant (wgrant) wrote :

This was seen again in OOPS-2018FTPMASTERPUBLISH1, where two uploads with conflicting orig tarballs were both in NEW, and accepted within a single transaction.

Revision history for this message
Julian Edwards (julian-edwards) wrote :

Bumping to Critical because it causes OOPSes.

Changed in launchpad:
importance: High → Critical
tags: added: oops
description: updated

Any easy short-term fix would be to throw an error back to the user if we
detect simultaneous acceptance of conflicting packages when the archive admin
accepts a batch of packages.

Note that this generally only happens when they use the "queue" script tool as
the archive admin will try and accept package "foo" before they list how many
were uploaded. The UI package does not work like this, it requires you to
search for packages before you click on the packages so it would also be more
obvious that there are multiple uploads.

The queue script needs to die, in fire.

piotr zimoch (ebytyes)
Changed in launchpad:
status: Triaged → New
status: New → Incomplete
status: Incomplete → Opinion
status: Opinion → Invalid
status: Invalid → Confirmed
status: Confirmed → In Progress
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
Changed in ubuntu:
status: New → Incomplete
status: Incomplete → Opinion
status: Opinion → Invalid
status: Invalid → Confirmed
status: Confirmed → In Progress
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
William Grant (wgrant)
Changed in ubuntu:
status: Fix Released → New
Changed in launchpad:
status: Fix Released → Triaged
no longer affects: ubuntu
Changed in launchpad:
status: Triaged → Confirmed
Curtis Hovey (sinzui)
Changed in launchpad:
status: Confirmed → Triaged
Changed in launchpad:
status: Triaged → New
affects: launchpad → google-launchpad-migrator
Changed in google-launchpad-migrator:
assignee: nobody → dexter dimaculangan (dexterjohn2011)
status: New → Confirmed
William Grant (wgrant)
affects: google-launchpad-migrator → launchpad
Changed in launchpad:
status: Confirmed → Triaged
assignee: dexter dimaculangan (dexterjohn2011) → nobody
Revision history for this message
Colin Watson (cjwatson) wrote :

@dexterjohn2011, I'm not quite sure what you're doing, but this definitely does not belong on google-launchpad-migrator; it has nothing to do with Google Code project bugs. Reverting changes.

information type: Public → Public Security
William Grant (wgrant)
information type: Public Security → Public
Lukasz (lukaszek130388)
Changed in launchpad:
status: Triaged → Fix Released
Colin Watson (cjwatson)
Changed in launchpad:
status: Fix Released → Triaged
Thanatas (xaxadmin)
Changed in launchpad:
status: Triaged → Fix Released
Colin Watson (cjwatson)
Changed in launchpad:
status: Fix Released → Triaged
Colin Watson (cjwatson)
no longer affects: ubuntu
deaunapaul (waxmigs2902)
Changed in launchpad:
status: Triaged → Confirmed
William Grant (wgrant)
Changed in launchpad:
status: Confirmed → Triaged
Changed in launchpad:
assignee: nobody → Anthony Ochoa (anthony1985)
William Grant (wgrant)
no longer affects: ubuntu
Changed in launchpad:
assignee: Anthony Ochoa (anthony1985) → nobody
Changed in launchpad:
assignee: nobody → Wendell Nicolas (dentubuntu)
Simon Quigley (tsimonq2)
Changed in launchpad:
assignee: Wendell Nicolas (dentubuntu) → nobody
Changed in launchpad:
assignee: nobody → nguyen thanh anh vu (vunguyen67)
assignee: nguyen thanh anh vu (vunguyen67) → nobody
Changed in launchpad:
status: Triaged → Fix Released
Colin Watson (cjwatson)
Changed in launchpad:
status: Fix Released → Triaged
kirill (kirill-yalta)
Changed in launchpad:
assignee: nobody → kirill (kirill-yalta)
status: Triaged → Confirmed
William Grant (wgrant)
no longer affects: ubuntu
Colin Watson (cjwatson)
Changed in launchpad:
assignee: kirill (kirill-yalta) → nobody
status: Confirmed → Triaged
Changed in launchpad:
assignee: nobody → Jemiter Mwale (jemitermwale)
Colin Watson (cjwatson)
Changed in pepess:
status: New → Invalid
Changed in launchpad:
assignee: Jemiter Mwale (jemitermwale) → nobody
Airkm (airkm)
information type: Public → Private
Colin Watson (cjwatson)
information type: Private → Public
Changed in launchpad:
importance: Critical → High
Revision history for this message
Colin Watson (cjwatson) wrote :

If we change this, we should probably first allow uploaders to reject their own uploads, so that it remains reasonably easy for them to supersede an upload that they realise is wrong.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.

波菜不能和什么一起吃 眼角发黄是什么原因 护理是干什么的 杭字五行属什么 泡脚时间长了有什么坏处
eb病毒是什么病 沙门氏菌用什么药最好 什么的青草 腋臭是什么原因引起的 蜜蜡五行属什么
上午右眼皮跳什么预兆 pgr是什么意思 星期六打喷嚏代表什么 脑动脉硬化是什么意思 男大女6岁有什么说法
晚上入睡困难是什么原因 菖蒲是什么 这是什么字 神话故事有什么 优五行属性是什么
石斛起什么作用hcv8jop9ns6r.cn 属猴配什么属相最好hcv8jop2ns9r.cn 74岁属什么xinmaowt.com 什么菊花茶降火最好hcv9jop1ns4r.cn 调岗是什么意思hcv7jop6ns8r.cn
全身痒但是身上什么都没有hcv9jop6ns1r.cn 吃什么食物养肝护肝hcv8jop5ns3r.cn 药流前需要做什么检查hcv8jop2ns5r.cn 全血铅测定是什么意思hcv8jop4ns2r.cn 丰衣足食是什么意思hcv8jop6ns7r.cn
孕妇手麻是什么原因引起的hcv9jop4ns4r.cn 吐血是什么原因引起的hcv8jop0ns2r.cn 头顶冒汗是什么原因hcv8jop0ns7r.cn 感染乙肝病毒有什么症状hcv7jop6ns6r.cn 什么是私人会所hcv9jop2ns5r.cn
add什么意思hcv8jop7ns9r.cn 米虫是什么意思hcv8jop1ns3r.cn 5月5日是什么星座hcv9jop5ns3r.cn 左胸上方隐痛什么原因hcv8jop8ns9r.cn 女人打掉孩子说明什么hcv8jop3ns6r.cn
百度