| 2272 | } |
| 2273 | |
| 2274 | absl::Status CommitTimestampNotInFuture(absl::string_view column, |
| 2275 | absl::string_view key, |
| 2276 | absl::Time timestamp) { |
| 2277 | return absl::Status( |
| 2278 | absl::StatusCode::kFailedPrecondition, |
| 2279 | absl::Substitute( |
| 2280 | "Setting allow_commit_timestamp option on column $0 is not allowed " |
| 2281 | "because it has a timestamp in the future at key: $1 $2", |
| 2282 | column, key, absl::FormatTime(timestamp))); |
| 2283 | } |
| 2284 | |
| 2285 | absl::Status CannotReadPendingCommitTimestamp(absl::string_view entity_string) { |
| 2286 | return absl::Status( |
no outgoing calls