Skip to content

Commit

Permalink
Improve error msg for global order writes failures
Browse files Browse the repository at this point in the history
This adds a small addition to indicate if it was the tile comparision
that failed. This can help debug the problem that the write was not
aligned to the tile boundaries properly.
  • Loading branch information
Shelnutt2 committed Feb 19, 2020
1 parent 706c8bf commit 8788b55
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tiledb/sm/query/writer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -712,6 +712,8 @@ Status Writer::check_global_order() const {
ss << "Write failed; Coordinates " << coords_to_str(i);
ss << " succeed " << coords_to_str(i + 1);
ss << " in the global order";
if (tile_cmp > 0)
ss << " due to writes across tiles";
return LOG_STATUS(Status::WriterError(ss.str()));
}
return Status::Ok();
Expand Down

0 comments on commit 8788b55

Please sign in to comment.