Merge branch 'features/lexicographical-ordered-traces' of github.com:mpilman/foundationdb into features/lexicographical-ordered-traces

This commit is contained in:
mpilman 2019-07-22 14:22:51 -07:00
commit aa93f8411a
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ Bindings
Other Changes
-------------
* Trace files are now ordered lexicographically ``(PR #1828) <https://github.com/apple/foundationdb/pull/1828>``. This means that the filename format for traces did change.
* Trace files are now ordered lexicographically. This means that the filename format for trace files did change. `(PR #1828) <https://github.com/apple/foundationdb/pull/1828>`_.
Earlier release notes
---------------------

View File

@ -92,7 +92,7 @@ void FileTraceLogWriter::open() {
// this allows one process to write 10 billion log files
// this should be enough - if not we could make the base larger...
ASSERT(index > 0 && index < 10);
ASSERT(index > 0);
int indexWidth = int(::floor(log10f(float(index)) + 1.0));
char indexWidthC;