Skip to content

Commit

Permalink
Update format string for file path to use 6 chars
Browse files Browse the repository at this point in the history
  • Loading branch information
deepakjois authored Sep 5, 2017
1 parent f407625 commit 48d8707
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion value.go
Original file line number Diff line number Diff line change
Expand Up @@ -490,7 +490,7 @@ type valueLog struct {
}

func vlogFilePath(dirPath string, fid uint32) string {
return fmt.Sprintf("%s%s%09d.vlog", dirPath, string(os.PathSeparator), fid)
return fmt.Sprintf("%s%s%06d.vlog", dirPath, string(os.PathSeparator), fid)
}

func (vlog *valueLog) fpath(fid uint32) string {
Expand Down

0 comments on commit 48d8707

Please sign in to comment.