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

Log Spam from Riak services in Traffic Ops #5291

@ocket8888

Description

@ocket8888

I'm submitting a ...

  • bug report

Traffic Control components affected ...

  • Traffic Ops

Current behavior:

Traffic Ops will sometimes emit the error:

ERROR: riak_services.go:343: 2020-11-17T14:10:49.716927165Z: getting riak servers: querying riak servers: sql: transaction has already been committed or rolled back

when encountering an error in Riak-related endpoint logic. It's probably calling HandleErr without returning.

Expected behavior:

When a fatal error occurs, handling should end and no further attempts should be made to roll back the linked transaction.

Minimal reproduction of the problem with instructions:

I think you can actually just see it in the default CDN-in-a-Box setup logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Traffic Opsrelated to Traffic Opsbugsomething isn't working as intendedlow impactaffects only a small portion of a CDN, and cannot itself break onewontfixThis bug won't be fixed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions