mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 23:10:41 +02:00
change count to uint64 to fix #109
fix https://github.com/chrislusf/weed-fs/issues/109
This commit is contained in:
1 parent
c37a20178e
commit
3ece066700
8 files changed
+42
-10
No files matched your search
@@ -15,7 +15,7 @@ func NewMemorySequencer() (m *MemorySequencer) {
|
||||
return
|
||||
}
|
||||
|
||||
func (m *MemorySequencer) NextFileId(count int) (uint64, int) {
|
||||
func (m *MemorySequencer) NextFileId(count uint64) (uint64, uint64) {
|
||||
m.sequenceLock.Lock()
|
||||
defer m.sequenceLock.Unlock()
|
||||
ret := m.counter
|
||||
|
||||
Reference in new issue
Block a user