Commit f15d92f9 authored by Andrew Mitchell's avatar Andrew Mitchell
Browse files

Changed underscore usage to be consistent

parent dad29c96
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -523,8 +523,8 @@ There are many cases where a delete could fail with a properly functioning drive


### Flush
The `FLUSH_ALL_DATA` operation flushes any outstanding PUTs or DELETEs on the device. For example, if the client `PUT` many keys with `synchronization=WRITEBACK` the data
would not be guaranteed to be persisted, so power cycling could result in lost data. When a `FLUSH_ALL_DATA` command returns, all previous operations with `synchronization=WRITEBACK` on
The `FLUSHALLDATA` operation flushes any outstanding PUTs or DELETEs on the device. For example, if the client `PUT` many keys with `synchronization=WRITEBACK` the data
would not be guaranteed to be persisted, so power cycling could result in lost data. When a `FLUSHALLDATA` command returns, all previous operations with `synchronization=WRITEBACK` on
this connection are guaranteed to be persisted. Data on separate connections is not guaranteed to be persisted, but may as an indirect consequence of this operation.

**Request Message**
@@ -539,8 +539,8 @@ command {
    identity: ...
    connectionID: ...
    sequence: ...
    // messageType should be FLUSH_ALL_DATA
    messageType: FLUSH_ALL_DATA
    // messageType should be FLUSHALLDATA
    messageType: FLUSHALLDATA
  }
  body {
  }
@@ -559,13 +559,13 @@ command {
  header {
    ackSequence: ...

    // messageType should be FLUSH_ALL_DATA_RESPONSE
    messageType: FLUSH_ALL_DATA_RESPONSE
    // messageType should be FLUSHALLDATA_RESPONSE
    messageType: FLUSHALLDATA_RESPONSE
  }
  body {
  }
  status {
  // A successful FLUSH_ALL_DATA will return SUCCESS
  // A successful FLUSHALLDATA will return SUCCESS
    code: SUCCESS
  }
}
@@ -574,7 +574,7 @@ hmac: "..."
```

**Permissions**
Having unrestricted `WRITE` or `DELETE` permissions is sufficient to execute a `FLUSH_ALL_DATA` command.
Having unrestricted `WRITE` or `DELETE` permissions is sufficient to execute a `FLUSHALLDATA` command.


## Read Operations
+2 −2
Original line number Diff line number Diff line
@@ -542,8 +542,8 @@ message Message {
    NOOP = 30;
    NOOP_RESPONSE = 29;

    FLUSH_ALL_DATA = 32;
    FLUSH_ALL_DATA_RESPONSE = 31;
    FLUSHALLDATA = 32;
    FLUSHALLDATA_RESPONSE = 31;
  }

}