| OLD | NEW |
| 1 // Copyright 2014 The LUCI Authors. All rights reserved. | 1 // Copyright 2014 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed by the Apache v2.0 license that can be | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // Messages for Primary <-> Replica auth DB replication protocol. | 5 // Messages for Primary <-> Replica auth DB replication protocol. |
| 6 // Used from both Primary side (i.e. auth_service) and Replica side (any service | 6 // Used from both Primary side (i.e. auth_service) and Replica side (any service |
| 7 // that uses auth component). | 7 // that uses auth component). |
| 8 | 8 |
| 9 package components.auth.proto.replication; | 9 package components.auth.proto.replication; |
| 10 | 10 |
| 11 | 11 |
| 12 //////////////////////////////////////////////////////////////////////////////// | 12 //////////////////////////////////////////////////////////////////////////////// |
| 13 // Linking protocol, used to associate Replicas with Primary. | 13 // Linking protocol, used to associate Replicas with Primary. |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 | 248 |
| 249 // Overall status of the operation. | 249 // Overall status of the operation. |
| 250 required Status status = 1; | 250 required Status status = 1; |
| 251 // Revision known by Replica (set for APPLIED and SKIPPED statuses). | 251 // Revision known by Replica (set for APPLIED and SKIPPED statuses). |
| 252 optional AuthDBRevision current_revision = 2; | 252 optional AuthDBRevision current_revision = 2; |
| 253 // Present for TRANSIENT_ERROR and FATAL_ERROR statuses. | 253 // Present for TRANSIENT_ERROR and FATAL_ERROR statuses. |
| 254 optional ErrorCode error_code = 3; | 254 optional ErrorCode error_code = 3; |
| 255 // Version of 'auth' component on Replica, see components/auth/version.py. | 255 // Version of 'auth' component on Replica, see components/auth/version.py. |
| 256 optional string auth_code_version = 4; | 256 optional string auth_code_version = 4; |
| 257 } | 257 } |
| OLD | NEW |