Project

General

Profile

Actions

Bug #72077

closed
CB AA

ECTransaction.cc:616:25: warning: comparison of integer expressions of different signedness

Bug #72077: ECTransaction.cc:616:25: warning: comparison of integer expressions of different signedness

Added by Casey Bodley over 1 year ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
Fixed In:
v20.3.0-2314-gbc264090a2
Released In:
v21.2.0~2278
Upkeep Timestamp:
2026-10-24T01:57:44+00:00

Description

compile warning with gcc 15.1.1:

[482/563] Building CXX object src/osd/CMakeFiles/osd.dir/ECTransaction.cc.o
ceph/src/osd/ECTransaction.cc: In constructor ‘ECTransaction::Generate::Generate(PGTransaction&, ceph::ErasureCodeInterfaceRef&, pg_t&, const ECUtil::stripe_info_t&, const std::map<hobject_t, ECUtil::shard_extent_map_t>&, std::map<hobject_t, ECUtil::shard_extent_map_t>*, shard_id_map<ceph::os::Transaction>&, const OSDMapRef&, const hobject_t&, PGTransaction::ObjectOperation&, ECTransaction::WritePlanObj&, DoutPrefixProvider*, pg_log_entry_t*)’:
ceph/src/osd/ECTransaction.cc:616:25: warning: comparison of integer expressions of different signedness: ‘int’ and ‘__gnu_cxx::__alloc_traits<std::allocator<unsigned int>, unsigned int>::value_type’ {aka ‘unsigned int’} [-Wsign-compare]
  616 |     if (t.get_num_ops() > old_transaction_counts[int(shard)] &&


Related issues 1 (0 open — 1 closed)

Copied to RADOS - Backport #72561: tentacle: ECTransaction.cc:616:25: warning: comparison of integer expressions of different signednessResolvedAlex Ainscow

Actions

RZ Updated by Radoslaw Zarzynski over 1 year ago Actions #1

  • Assignee set to Alex Ainscow

RZ Updated by Radoslaw Zarzynski over 1 year ago Actions #2

Bump up.

RZ Updated by Radoslaw Zarzynski over 1 year ago Actions #3

Bump up.

LF Updated by Laura Flores over 1 year ago Actions #4

@Alex Ainscow any update on this one?

AA Updated by Alex Ainscow over 1 year ago · Edited Actions #5

@Laura Flores This will be fixed in EC fixpack 2: https://github.com/ceph/ceph/pull/64501. This has completed test and I to merge soon.

AA Updated by Alex Ainscow over 1 year ago Actions #6

  • Status changed from New to Pending Backport

AA Updated by Alex Ainscow over 1 year ago Actions #7

  • Status changed from Pending Backport to New

AA Updated by Alex Ainscow over 1 year ago Actions #8

  • Status changed from New to Pending Backport

Sneakily using this tracker to generate a backport tracker

AA Updated by Alex Ainscow over 1 year ago Actions #9

  • Backport set to tentacle
  • Pull request ID set to 64501

UB Updated by Upkeep Bot over 1 year ago Actions #10

  • Copied to Backport #72561: tentacle: ECTransaction.cc:616:25: warning: comparison of integer expressions of different signedness added

UB Updated by Upkeep Bot over 1 year ago Actions #11

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot over 1 year ago Actions #12

  • Merge Commit set to bc264090a20327a16574bf5892b495097a3c7f3d
  • Fixed In set to v20.3.0-2314-gbc264090a2
  • Upkeep Timestamp set to 2025-08-13T07:11:38+00:00

AA Updated by Alex Ainscow 3 months ago Actions #13

  • Status changed from Pending Backport to Resolved

UB Updated by Upkeep Bot 3 months ago Actions #14

  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2025-08-13T07:11:38+00:00 to 2026-08-28T01:34:08+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #15

  • Released In set to v21.2.0~2278
  • Upkeep Timestamp changed from 2026-08-28T01:34:08+00:00 to 2026-10-24T01:57:44+00:00
Actions

Also available in: PDF Atom