Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Returning no error on ulog check fail #5993

Description

@janekmi
int
lane_check(PMEMobjpool *pop)
{
	int err = 0;
	/* ... */
	for (j = 0; j < pop->nlanes; ++j) {
		/* ... */
		if (ulog_check(/* ... */) != 0) {
			LOG(2, "lane %" PRIu64 " internal redo failed: %d", j, err);
			return err; /* return 0 */
		}
	}
	return 0;
}

Ref:

return err;

Activity

  1. added this to the 2.1.0 milestone on Jan 31, 2024
  2. modified the milestones: 2.1.0, 2.x on Feb 8, 2024
  3. modified the milestones: 2.x, 2.1.1 on Feb 12, 2024
  4. modified the milestones: 2.1.1, 2.x on Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions