Push activities don't show up on pull requests if there are a lot of rescope requests backed up in the database.

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Highest
    • 10.4.0
    • Affects Version/s: 8.19.0, 9.4.0, 10.0.0, 10.2.0, 10.3.0
    • Component/s: Mesh
    • 1
    • Severity 2 - Major
    • 11
    • CtB - Improve Existing

      Issue Summary

      When pushing to a pull requests' from branch, push activities might not show up and the pull request might remain un-mergeable if there are a lot of rescope requests in the database.

      Steps to Reproduce

      1. Pause rescoping or delay rescoping through any means.
      2. Have at least 3000 open pull requests and perform 3-4 separate pushes to each of them.
      3. Un-pause rescoping or let rescoping resume.

      Expected Results

      Rescoping continues and push activities show up on the pull requests, making them mergeable.

      Actual Results

      The below exception is thrown in the atlassian-mesh.log file:

      io.grpc.netty.NettyServerStream Exception processing message
      io.grpc.StatusRuntimeException: RESOURCE_EXHAUSTED: gRPC message exceeds maximum size XXXXXXX: YYYYYYYYY
      

      Workaround

      Temporarily change this config property in bitbucket.properties:

      plugin.bitbucket-git.mesh.grpc.max-message-size=YYYYYYYYY
      

      where YYYYYYYYY is bigger than in the error message above, with some safety margin.

              Assignee:
              Wolfgang Kritzinger
              Reporter:
              Wolfgang Kritzinger
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: