You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
767 B

  1. package operation;
  2. message VolumeInformationMessage {
  3. required uint32 id = 1;
  4. required uint64 size = 2;
  5. optional string collection = 3;
  6. required uint64 file_count = 4;
  7. required uint64 delete_count = 5;
  8. required uint64 deleted_byte_count = 6;
  9. optional bool read_only = 7;
  10. required uint32 replica_placement = 8;
  11. optional uint32 version = 9 [default=2];
  12. optional uint32 ttl = 10;
  13. }
  14. message JoinMessage {
  15. optional bool is_init = 1;
  16. required string ip = 2;
  17. required uint32 port = 3;
  18. optional string public_url = 4;
  19. required uint32 max_volume_count = 5;
  20. required uint64 max_file_key = 6;
  21. optional string data_center = 7;
  22. optional string rack = 8;
  23. repeated VolumeInformationMessage volumes = 9;
  24. optional uint32 admin_port = 10;
  25. }