Skip to content

Do not log same errors in policer twice #1988

@fyrchik

Description

@fyrchik

Do not log same errors in policer twice. Seems useless, if we cannot select any nodes from the container, it won't change during this epoch.

окт 26 10:32:18 buky neofs-node[24920]: 2022-10-26T10:32:18.922Z        error        policer/check.go:98        could not build placement vector for object        {"component": "Object Policer", "cid": "ChimApoDVi9nYhiQohTKrVhYMvNsVuTiXMcJCr4RNyt", "error": "could not get container nodes: not enough nodes to SELECT from: ''"}
окт 26 10:32:18 buky neofs-node[24920]: 2022-10-26T10:32:18.922Z        error        policer/check.go:98        could not build placement vector for object        {"component": "Object Policer", "cid": "ChimApoDVi9nYhiQohTKrVhYMvNsVuTiXMcJCr4RNyt", "error": "could not get container nodes: not enough nodes to SELECT from: ''"}
окт 26 10:32:18 buky neofs-node[24920]: 2022-10-26T10:32:18.923Z        error        policer/check.go:98        could not build placement vector for object        {"component": "Object Policer", "cid": "ChimApoDVi9nYhiQohTKrVhYMvNsVuTiXMcJCr4RNyt", "error": "could not get container nodes: not enough nodes to SELECT from: ''"}
окт 26 10:32:18 buky neofs-node[24920]: 2022-10-26T10:32:18.923Z        error        policer/check.go:98        could not build placement vector for object        {"component": "Object Policer", "cid": "ChimApoDVi9nYhiQohTKrVhYMvNsVuTiXMcJCr4RNyt", "error": "could not get container nodes: not enough nodes to SELECT from: ''"}
окт 26 10:32:18 buky neofs-node[24920]: 2022-10-26T10:32:18.923Z        error        policer/check.go:98        could not build placement vector for object        {"component": "Object Policer", "cid": "ChimApoDVi9nYhiQohTKrVhYMvNsVuTiXMcJCr4RNyt", "error": "could not get container nodes: not enough nodes to SELECT from: ''"}
окт 26 10:32:18 buky neofs-node[24920]: 2022-10-26T10:32:18.923Z        error        policer/check.go:98        could not build placement vector for object        {"component": "Object Policer", "cid": "ChimApoDVi9nYhiQohTKrVhYMvNsVuTiXMcJCr4RNyt", "error": "could not get container nodes: not enough nodes to SELECT from: ''"}
окт 26 10:32:18 buky neofs-node[24920]: 2022-10-26T10:32:18.923Z        error        policer/check.go:98        could not build placement vector for object        {"component": "Object Policer", "cid": "ChimApoDVi9nYhiQohTKrVhYMvNsVuTiXMcJCr4RNyt", "error": "could not get container nodes: not enough nodes to SELECT from: ''"}
окт 26 10:32:18 buky neofs-node[24920]: 2022-10-26T10:32:18.923Z        error        policer/check.go:98        could not build placement vector for object        {"component": "Object Policer", "cid": "ChimApoDVi9nYhiQohTKrVhYMvNsVuTiXMcJCr4RNyt", "error": "could not get container nodes: not enough nodes to SELECT from: ''"}

Metadata

Metadata

Assignees

No one assigned

    Labels

    I3Minimal impactS2Regular significanceU3RegularenhancementImproving existing functionalityneofs-storageStorage node application issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions