Skip to content
#

reliability

Here are 126 public repositories matching this topic...

John-Chan
John-Chan commented Aug 30, 2020

Issue Description

Type: bug report

NettyTransportClient.getCurrentId

    private int getCurrentId() {
        if (idGenerator.get() > MAX_ID) {
            idGenerator.set(0);
        }
        return idGenerator.incrementAndGet();
    }

个人理解这个ID应该是用于协议纠错,getCurrentId的目的是为了循环产生ID,且在循环周期内不重复,即生成ID为1,2,3 ... -> MAX -> 1,2,3 ...

Describe what happe

GregUtas
GregUtas commented Nov 5, 2017

Implement Message.InspectMsg and suitable overrides. This function should be invoked when a message is sent, but only when a debug flag is enabled in a lab load. Its purpose is to verify that the message

  • belongs to a valid protocol
  • matches its PSM's protocol (if sent by a PSM)
  • has a valid signal for its protocol
  • contains all parameters that are mandatory for its signal
  • contains

Improve this page

Add a description, image, and links to the reliability topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the reliability topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.