Skip to content

maintenance tasks increases when asd is down (cleanuposdnamespace) #761

Description

@jeroenmaelbrancke

I know it is normal that the tasks on the maintenance increases but after 15min the chunks on this asd will be created on other asds.
So if an asd is down for x hours the maintenance agent should ignore these tasks.

In my example osd 14 and 15 are down for 3 days and the amount of work still increase on the maintenance agent while the auto repair timeout is 900 seconds.

Maintenance config = {
  "enable_auto_repair": true,
  "auto_repair_timeout_seconds": 900.0,
  "auto_repair_disabled_nodes": [],
  "enable_rebalance": true,
  "cache_eviction_prefix_preset_pairs": {},
  "redis_lru_cache_eviction": {
    "host": "172.17.16.22",
    "port": 6379,
    "key": "alba_lru_56f58646-419d-4236-a868-e3b79ac8784d"
  }
}

work items:

54158935 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004123L))"
54159096 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004127L))"
54159149 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004126L))"
54159150 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (14L, 1004126L))"
54159271 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004134L))"
54159324 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004132L))"
54159377 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004129L))"
54159430 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004135L))"
54159483 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004128L))"
54159536 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004131L))"
54159537 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (14L, 1004131L))"
54159589 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004138L))"
54159590 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (14L, 1004138L))"
54159642 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004136L))"
54159704 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004143L))"
54159757 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004145L))"
54159863 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004137L))"
54159916 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004142L))"
54159917 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (14L, 1004142L))"
54159969 | "(Albamgr_protocol.Protocol.Work.CleanupOsdNamespace (15L, 1004144L))"

amount of work items:
image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions