[ 
https://issues.apache.org/jira/browse/AMQ-4963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Lionel Cons updated AMQ-4963:
-----------------------------

    Description: 
There seems to be a typo in 
activemq-kahadb-store/src/main/proto/journal-data.proto. This file contains:

{code}
message KahaLocalTransactionId {
  required string connection_id=1;
  required int64 transaction_id=1;
}
{code}

The second field should be 2.

I wonder why the protobuf compiler does not complain about this. Maybe it 
should be fixed to detect and complain about duplicate fields?

  was:
There seems to be a typo in 
activemq-kahadb-store/src/main/proto/journal-data.proto. This file contains:

message KahaLocalTransactionId {
  required string connection_id=1;
  required int64 transaction_id=1;
}

The second field should be 2.

I wonder why the protobuf compiler does not complain about this. Maybe it 
should be fixed to detect and complain about duplicate fields?


> Typo in journal-data.proto
> --------------------------
>
>                 Key: AMQ-4963
>                 URL: https://issues.apache.org/jira/browse/AMQ-4963
>             Project: ActiveMQ
>          Issue Type: Bug
>            Reporter: Lionel Cons
>
> There seems to be a typo in 
> activemq-kahadb-store/src/main/proto/journal-data.proto. This file contains:
> {code}
> message KahaLocalTransactionId {
>   required string connection_id=1;
>   required int64 transaction_id=1;
> }
> {code}
> The second field should be 2.
> I wonder why the protobuf compiler does not complain about this. Maybe it 
> should be fixed to detect and complain about duplicate fields?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to