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
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):
Merge Commit:
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)] &&
RZ Updated by Radoslaw Zarzynski over 1 year ago
- Assignee set to Alex Ainscow
RZ Updated by Radoslaw Zarzynski over 1 year ago
Bump up.
RZ Updated by Radoslaw Zarzynski over 1 year ago
Bump up.
LF Updated by Laura Flores over 1 year ago
@Alex Ainscow any update on this one?
AA Updated by Alex Ainscow over 1 year ago · Edited
@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
- Status changed from New to Pending Backport
AA Updated by Alex Ainscow over 1 year ago
- Status changed from Pending Backport to New
AA Updated by Alex Ainscow over 1 year ago
- 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
- Backport set to tentacle
- Pull request ID set to 64501
UB Updated by Upkeep Bot over 1 year ago
- 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
- Tags (freeform) set to backport_processed
UB Updated by Upkeep Bot over 1 year ago
- 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
- Status changed from Pending Backport to Resolved
UB Updated by Upkeep Bot 3 months ago
- 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
- 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