Skip to content

Commit 78a352f

Browse files
leveldb Teampwnall
authored andcommitted
Internal change.
PiperOrigin-RevId: 866848697
1 parent 06188fd commit 78a352f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

db/version_set.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,7 +815,7 @@ Status VersionSet::LogAndApply(VersionEdit* edit, port::Mutex* mu) {
815815

816816
// Unlock during expensive MANIFEST log write
817817
{
818-
mu->unlock();
818+
mu->Unlock();
819819

820820
// Write new record to MANIFEST log
821821
if (s.ok()) {
@@ -836,7 +836,7 @@ Status VersionSet::LogAndApply(VersionEdit* edit, port::Mutex* mu) {
836836
s = SetCurrentFile(env_, dbname_, manifest_file_number_);
837837
}
838838

839-
mu->lock();
839+
mu->Lock();
840840
}
841841

842842
// Install the new version

0 commit comments

Comments
 (0)