Project

General

Profile

Actions

Bug #64064

closed
NS NS

mds config `mds_log_max_segments` throws error for value -1

Bug #64064: mds config `mds_log_max_segments` throws error for value -1

Added by Neeraj Pratap Singh almost 3 years ago. Updated 29 days ago.

Status:
Backporting
Priority:
Normal
Category:
Correctness/Safety
Target version:
Due date:
% Done:

0%

Source:
Development
Backport:
squid,tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Tags (freeform):
Fixed In:
v21.0.0-2100-g44f1f41750
Released In:
v21.2.0~260
Upkeep Timestamp:
2026-11-04T01:10:51+00:00

Description

`mds_log_max_segments` gives error when user tries to set its value to `-1`
which is the way to disable the limits as mentioned in desc of config option.

ceph config set mds mds_log_max_segments -1
Error EINVAL: error parsing value: strict_sistrtoll: value should not be negative

Related issues 3 (3 open — 0 closed)

Related to CephFS - Bug #76508: mds: allow disabling mdlog trimming via a config for writing testsNewNeeraj Pratap Singh

Actions
Copied to CephFS - Backport #77233: squid: mds config `mds_log_max_segments` throws error for value -1NewNeeraj Pratap Singh

Actions
Copied to CephFS - Backport #77234: tentacle: mds config `mds_log_max_segments` throws error for value -1NewNeeraj Pratap Singh

Actions

VS Updated by Venky Shankar over 2 years ago Actions #1

  • Backport changed from reef,quincy to quincy,reef,squid

VS Updated by Venky Shankar over 2 years ago Actions #2

  • Target version set to v20.0.0

NS Updated by Neeraj Pratap Singh over 2 years ago Actions #3

  • Pull request ID set to 56634

NS Updated by Neeraj Pratap Singh over 2 years ago Actions #4

  • Status changed from New to Fix Under Review

KS Updated by Konstantin Shalygin almost 2 years ago Actions #5

  • Backport changed from quincy,reef,squid to reef,squid

KS Updated by Konstantin Shalygin 8 months ago Actions #6

  • Backport changed from reef,squid to squid

VS Updated by Venky Shankar 7 months ago Actions #7

  • Source set to Development
  • Backport changed from squid to squid,tentacle

VS Updated by Venky Shankar 7 months ago Actions #8

  • Related to Bug #76508: mds: allow disabling mdlog trimming via a config for writing tests added

VS Updated by Venky Shankar 6 months ago Actions #9

  • Target version changed from v20.0.0 to v21.0.0

UB Updated by Upkeep Bot 6 months ago Actions #10

  • Status changed from Fix Under Review to Pending Backport
  • Merge Commit set to 44f1f41750fc2443b1e480d41763ef8c4feb0924
  • Fixed In set to v21.0.0-2100-g44f1f41750
  • Upkeep Timestamp set to 2026-06-08T09:04:53+00:00

UB Updated by Upkeep Bot 6 months ago Actions #11

  • Copied to Backport #77233: squid: mds config `mds_log_max_segments` throws error for value -1 added

UB Updated by Upkeep Bot 6 months ago Actions #12

  • Copied to Backport #77234: tentacle: mds config `mds_log_max_segments` throws error for value -1 added

UB Updated by Upkeep Bot 6 months ago Actions #13

  • Tags (freeform) set to backport_processed

UB Updated by Upkeep Bot 3 months ago Actions #14

  • Status changed from Pending Backport to Backporting
  • Tags (freeform) deleted (backport_processed)
  • Upkeep Timestamp changed from 2026-06-08T09:04:53+00:00 to 2026-08-27T18:33:51+00:00

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

  • Released In set to v21.2.0~259
  • Upkeep Timestamp changed from 2026-08-27T18:33:51+00:00 to 2026-10-24T01:18:16+00:00

UB Updated by Upkeep Bot 29 days ago Actions #16

  • Released In changed from v21.2.0~259 to v21.2.0~260
  • Upkeep Timestamp changed from 2026-10-24T01:18:16+00:00 to 2026-11-04T01:10:51+00:00
Actions

Also available in: PDF Atom