Actions
Bug #72077
openECTransaction.cc:616:25: warning: comparison of integer expressions of different signedness
% Done:
0%
Source:
Backport:
tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Tags (freeform):
backport_processed
Merge Commit:
Fixed In:
v20.3.0-2314-gbc264090a2
Released In:
Upkeep Timestamp:
2025-08-13T07:11:38+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)] &&
Updated by Alex Ainscow 8 months 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.
Updated by Alex Ainscow 7 months ago
- Status changed from New to Pending Backport
Updated by Alex Ainscow 7 months ago
- Status changed from Pending Backport to New
Updated by Alex Ainscow 7 months ago
- Status changed from New to Pending Backport
Sneakily using this tracker to generate a backport tracker
Updated by Alex Ainscow 7 months ago
- Backport set to tentacle
- Pull request ID set to 64501
Updated by Upkeep Bot 7 months ago
- Copied to Backport #72561: tentacle: ECTransaction.cc:616:25: warning: comparison of integer expressions of different signedness added
Updated by Upkeep Bot 7 months 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
Actions