]> git-server-git.apps.pok.os.sepia.ceph.com Git - rocksdb.git/commit
posix writablefile truncate
authorAaron Gao <gzh@fb.com>
Wed, 22 Feb 2017 18:00:25 +0000 (10:00 -0800)
committerAaron Gao <gzh@fb.com>
Fri, 24 Feb 2017 00:44:29 +0000 (16:44 -0800)
commit4abd57290cb6af730ecf444b0220115bb386d9cd
treec4d11a9b5c5a81ea408b9f616c8b679ce17d6371
parentf35574a16dc108167f368405b6470b75df8a89d8
posix writablefile truncate

Summary:
we occasionally missing this call so the file size will be wrong
Closes https://github.com/facebook/rocksdb/pull/1894

Differential Revision: D4598446

Pulled By: lightmark

fbshipit-source-id: 42b6ef5
db/db_test2.cc
db/db_test_util.h
util/io_posix.cc
util/io_posix.h