]> 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)
committersdong <siying.d@fb.com>
Wed, 22 Feb 2017 23:58:42 +0000 (15:58 -0800)
commit1c91104f43dc4e97d0a67bd1a3cda8f8bed419b5
tree2aa01060936a8d61cd8e57640461603256926848
parente47027d92d46f0f220a9e3d608ea7034b244bf6d
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