mirror of
https://github.com/ceph/ceph
synced 2025-01-13 22:44:50 +00:00
95faac9ae2
cls_log_add() relies on cls_cxx_subop_version() to generate unique keys for log entries with the same timestamp. because cls calls back into do_osd_ops(), resetting current_osd_subop_num means that cls_log_add() will keep seeing the same subop version and generating the same keys. this causes the following failure in ceph_test_cls_log: [ RUN ] cls_rgw.test_log_add_same_time /home/cbodley/ceph/src/test/cls_log/test_cls_log.cc:144: Failure Expected: 10 To be equal to: (int)entries.size() Which is: 1 [ FAILED ] cls_rgw.test_log_add_same_time (1180 ms) Fixes: http://tracker.ceph.com/issues/21964 Signed-off-by: Casey Bodley <cbodley@redhat.com> |
||
---|---|---|
.. | ||
class_api.cc | ||
objclass.h |