mirror of
https://github.com/privacore/open-source-search-engine.git
synced 2025-07-09 01:56:07 -04:00
Remove unused RdbBuckets::getNumKeys_unlocked
This commit is contained in:
@ -1449,12 +1449,6 @@ int32_t RdbBuckets::getNumKeys() const {
|
||||
return m_numKeysApprox;
|
||||
}
|
||||
|
||||
int32_t RdbBuckets::getNumKeys_unlocked() const {
|
||||
m_rwlock.verify_is_locked();
|
||||
|
||||
return m_numKeysApprox;
|
||||
}
|
||||
|
||||
int32_t RdbBuckets::getNumNegativeKeys() const {
|
||||
ScopedReadLock sl(m_rwlock);
|
||||
return m_numNegKeys;
|
||||
|
@ -124,7 +124,6 @@ private:
|
||||
//syntactic sugar
|
||||
RdbBucket* bucketFactory_unlocked();
|
||||
void updateNumRecs_unlocked(int32_t n, int32_t bytes, int32_t numNeg);
|
||||
int32_t getNumKeys_unlocked() const;
|
||||
|
||||
bool fastSave_unlocked();
|
||||
int64_t fastSaveColl_unlocked(int fd);
|
||||
|
Reference in New Issue
Block a user