Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
R
rust-rocksdb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangzongwu
rust-rocksdb
Commits
68dd9d1d
Unverified
Commit
68dd9d1d
authored
Mar 27, 2018
by
Huachao Huang
Committed by
GitHub
Mar 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update rocksdb with a fix
parent
fdd9bda0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
external_sst_file_ingestion_job.cc
librocksdb_sys/rocksdb/db/external_sst_file_ingestion_job.cc
+3
-0
No files found.
librocksdb_sys/rocksdb/db/external_sst_file_ingestion_job.cc
View file @
68dd9d1d
...
@@ -550,6 +550,9 @@ Status ExternalSstFileIngestionJob::AssignGlobalSeqnoForIngestedFile(
...
@@ -550,6 +550,9 @@ Status ExternalSstFileIngestionJob::AssignGlobalSeqnoForIngestedFile(
std
::
string
seqno_val
;
std
::
string
seqno_val
;
PutFixed64
(
&
seqno_val
,
seqno
);
PutFixed64
(
&
seqno_val
,
seqno
);
status
=
rwfile
->
Write
(
file_to_ingest
->
global_seqno_offset
,
seqno_val
);
status
=
rwfile
->
Write
(
file_to_ingest
->
global_seqno_offset
,
seqno_val
);
if
(
status
.
ok
())
{
status
=
rwfile
->
Fsync
();
}
if
(
status
.
ok
())
{
if
(
status
.
ok
())
{
file_to_ingest
->
assigned_seqno
=
seqno
;
file_to_ingest
->
assigned_seqno
=
seqno
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment