Go to the source code of this file.
Go to the SVN repository for this file.
static bool s_ReadHeader (FILE *file) static bool s_ReadRecord (FILE *file) static bool s_WriteHeader (FILE *file) static bool s_WriteRecord (FILE *file, Uint2 slot, const SNCSyncEvent *event) static SSlotData & s_GetSlotData (Uint2 slot) static Uint8 s_GetMinLocalSyncedRecordNo (Uint2 slot, const SSlotData &data) static void s_ProcessProlong (const SBlobEvent &src_event, const SBlobEvent &other_event, TSyncEvents *diff) static void s_ProcessWrite (SNCSyncEvent *src_event, const SBlobEvent &other_event, TSyncEvents *diff) static bool s_SpecialFind (const TReducedSyncEvents &container, TReducedSyncEvents::const_iterator ¤t_iterator, const string &key) static void s_CompareEvents (const TReducedSyncEvents &src, Uint8 start_rec_no, Uint8 now, const TReducedSyncEvents &other, Uint8 *synced_rec_no, TSyncEvents *diff) ◆ TLog ◆ TSrvSyncedMap ◆ TSyncedRecsMap ◆ s_CompareEvents() ◆ s_GetMinLocalSyncedRecordNo() ◆ s_GetSlotData() ◆ s_ProcessProlong() ◆ s_ProcessWrite() ◆ s_ReadHeader()Definition at line 115 of file sync_log.cpp.
References count, Critical(), map_checker< Container >::end(), map_checker< Container >::erase(), ERASE_ITERATE, file, map_checker< Container >::find(), CNCDistributionConf::GetCommonSlots(), CNCDistributionConf::GetPeers(), SFileServRecord::key_server, SFileServRecord::key_slot, SSrvSyncedData::local_rec_no, SFileServRecord::local_rec_no, SSrvSyncedData::remote_rec_no, SFileServRecord::remote_rec_no, s_SyncedData, and SRV_LOG.
Referenced by CNCSyncLog::Initialize().
◆ s_ReadRecord()Definition at line 167 of file sync_log.cpp.
References SFixedPart::event_type, SNCSyncEvent::event_type, file, ncbi::grid::netcache::search::fields::key, SNCSyncEvent::key, kMaxKeyLength, SFixedPart::local_time, SNCSyncEvent::local_time, SFixedPart::orig_rec_no, SNCSyncEvent::orig_rec_no, SFixedPart::orig_server, SNCSyncEvent::orig_server, SFixedPart::orig_time, SNCSyncEvent::orig_time, SFixedPart::rec_no, SNCSyncEvent::rec_no, s_Log, and SFixedPart::slot.
Referenced by CNCSyncLog::Initialize().
◆ s_SpecialFind() ◆ s_WriteHeader() ◆ s_WriteRecord() ◆ kMaxKeyLength const size_t kMaxKeyLength = 1024 static ◆ s_GlobalLock ◆ s_LastWrittenRecord Uint8 s_LastWrittenRecord static ◆ s_Log ◆ s_SyncedData ◆ s_TotalRecordsRetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4