Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/badoo/thunder
/ functions
Functions
724 in github.com/badoo/thunder
⨍
Functions
724
◇
Types & classes
128
↓ 1 callers
Function
handleConnection
(conn net.Conn)
logs-collector/logsproc/processor.go:71
↓ 1 callers
Method
init
()
jobgen/launcher.go:816
↓ 1 callers
Method
init
()
jobgen/dispatcher.go:721
↓ 1 callers
Function
inotifyEvSender
goroutine that starts to watch directory "sourceDir" and sends file names of changed files to "fsNotifyEvChan" chan
logs-collector/logscol/collector.go:66
↓ 1 callers
Function
inotifyRouter
()
logs-collector/logscol/collector.go:263
↓ 1 callers
Function
launcherJobsDebugPage
(w io.Writer, hostname string)
web.go:127
↓ 1 callers
Function
loadFullState
(funcs ...*LoadStateFunc)
jobgen/jobgen.go:171
↓ 1 callers
Function
loadSettingsFromRows
(jiRows map[string]map[string]*JobInfoEntry, scripts map[string]*ScriptEntry)
jobgen/settings.go:48
↓ 1 callers
Function
logTTFinish
(tx *db.LazyTrx, row *TimetableEntry, haveOldFinishCount bool, oldFinishCount uint)
jobgen/model.go:689
↓ 1 callers
Method
mainThread
()
jobgen/launcher.go:183
↓ 1 callers
Function
makeJobsList
(jobs Jobs, instanceCount int, className string)
jobgen/model.go:804
↓ 1 callers
Function
memoryThresholdExceeded
(info *ServerInfo)
jobgen/servers.go:244
↓ 1 callers
Function
newShardedCache
(shards int)
go-proxyd/sharded_cache.go:13
↓ 1 callers
Function
notifyTTFinished
(className, location string, timetable_id, run_id uint64, success, deleteRq bool, prevStatus string)
jobgen/notifiers.go:79
↓ 1 callers
Function
offsetsSaver
()
logs-collector/logscol/collector.go:366
↓ 1 callers
Function
parseJobs
(jobsStr string)
jobgen/common.go:65
↓ 1 callers
Function
parseNextTsCallback
(nextTsCallbackStr string)
jobgen/common.go:70
↓ 1 callers
Method
processAllJobs
(jobs []*TimetableEntry)
jobgen/dispatcher.go:253
↓ 1 callers
Method
processAllRows
(rows []*RunQueueEntry)
jobgen/launcher.go:401
↓ 1 callers
Method
processDebugEvent
(ev *LauncherDebugPrintRequest)
jobgen/launcher.go:143
↓ 1 callers
Method
processDebugEvent
(ev *DebugPrintRequest)
jobgen/dispatcher.go:212
↓ 1 callers
Method
processFinished
()
jobgen/launcher.go:437
↓ 1 callers
Method
processLogFinishRequest
(req *LauncherLogFinishRequest)
jobgen/launcher.go:370
↓ 1 callers
Method
processNewJobsEv
(ev *NewJobs)
jobgen/dispatcher.go:181
↓ 1 callers
Method
processRunningTooLong
()
jobgen/launcher.go:745
↓ 1 callers
Method
processUpdateStatusRequest
(req *LauncherUpdateStatusRequest)
jobgen/launcher.go:342
↓ 1 callers
Function
processWait
(p *vproc.Vproc)
go-proxyd/go-proto.go:183
↓ 1 callers
Method
processWaitingInInit
()
jobgen/launcher.go:686
↓ 1 callers
Function
requestRotate
(filename string)
logs-collector/logscol/collector.go:190
↓ 1 callers
Function
resetRunRequest
(tx *db.LazyTrx, className string)
jobgen/model.go:748
↓ 1 callers
Function
runqueuePeriodicSelectThread
()
jobgen/notifiers.go:165
↓ 1 callers
Function
selectHostname
(location, locationType string, cpuUsage float64, maxMemory int64)
jobgen/servers.go:152
↓ 1 callers
Function
selectTimetableByIds
(ids []uint64)
jobgen/model.go:337
↓ 1 callers
Function
sendChanges
(filename string, r *bufio.Reader, ino uint64, offset *int64)
logs-collector/logscol/collector.go:157
↓ 1 callers
Function
setFinishJobsTs
(tx *db.LazyTrx, className string, locations []string)
jobgen/model.go:542
↓ 1 callers
Function
setInitJobsTs
(tx *db.LazyTrx, className string, locations []string)
jobgen/model.go:554
↓ 1 callers
Function
setJobsGeneratedTs
(tx *db.LazyTrx, className string, locations []string)
jobgen/model.go:566
↓ 1 callers
Function
setKilledFlag
(tx *db.LazyTrx, className string)
jobgen/model.go:360
↓ 1 callers
Function
setMaxFinishedTs
(tx *db.LazyTrx, className string, employeeId int64, ts int64)
jobgen/model.go:451
↓ 1 callers
Function
setNextGenerateJobTs
(tx *db.LazyTrx, className string, settings *ScriptSettings)
jobgen/model.go:440
↓ 1 callers
Function
setPausedFlag
(tx *db.LazyTrx, className string)
jobgen/model.go:367
↓ 1 callers
Function
setRunAccepted
(tx *db.LazyTrx, className string)
jobgen/model.go:753
↓ 1 callers
Function
setRunStatusToInit
(tx *db.LazyTrx, run_id uint64, max_time int)
jobgen/model.go:267
↓ 1 callers
Function
setupAndCheckMysql
()
thunder.go:72
↓ 1 callers
Function
startKilling
(className string)
jobgen/killer.go:15
↓ 1 callers
Function
streamLogs
(filename string, chEvs chan bool, rotEvs chan *rotateEvent)
logs-collector/logscol/collector.go:89
↓ 1 callers
Function
throttleThread
()
jobgen/jobgen.go:672
↓ 1 callers
Function
updateHostsThread
()
jobgen/servers.go:93
↓ 1 callers
Method
updateInplace
(element *Item, value Value)
go-proxyd/vhash/vhach.go:74
↓ 1 callers
Function
updateLoadEstimates
assumes that rusageInfo.Lock() is held
jobgen/servers.go:367
↓ 1 callers
Function
updateRunStatus
(tx *db.LazyTrx, run_id uint64, status, prevStatus string)
jobgen/model.go:244
↓ 1 callers
Function
writeLines
(ln *common.LogLines)
logs-collector/logsproc/processor.go:150
↓ 1 callers
Function
writeThread
(filename string, ch chan *msg)
logs-collector/logsproc/processor.go:105
Function
APIAcceptTTJobs
(jobs []*thunder.RequestAddJobsJobT)
jobgen/api.go:14
Function
APILogFinish
string is json-encode'd run queue entry row
jobgen/api.go:190
Function
APIUpdateRunStatus
(hostname string, runId uint64, prevStatus, status string)
jobgen/api.go:170
Method
Clear
()
go-proxyd/vhash/vhach.go:67
Method
Delete
(key uint64)
go-proxyd/sharded_cache.go:40
Method
Dispatch
(rctx gpbrpc.RequestT, abstract_service interface{})
proto/thunder.gpbrpc.go:118
Method
Dispatch
(rctx gpbrpc.RequestT, abstract_service interface{})
proto/phproxyd/phproxyd.gpbrpc.go:158
Method
Dispatch
(rctx gpbrpc.RequestT, abstract_service interface{})
go-proxyd/proto/phproxyd.gpbrpc.go:191
Function
DoInLazyTransaction
(cb func(tx *LazyTrx) error)
db/db.go:121
Method
Enum
()
proto/thunder.pb.go:51
Method
Enum
()
proto/thunder.pb.go:87
Method
Enum
()
proto/phproxyd/phproxyd.pb.go:69
Method
Enum
()
proto/phproxyd/phproxyd.pb.go:111
Method
Enum
()
proto/phproxyd/phproxyd.pb.go:171
Method
Enum
()
proto/phproxyd/phproxyd.pb.go:204
Method
Enum
()
proto/phproxyd/phproxyd.pb.go:237
Method
Enum
()
go-proxyd/proto/phproxyd.pb.go:84
Method
Enum
()
go-proxyd/proto/phproxyd.pb.go:132
Method
Enum
()
go-proxyd/proto/phproxyd.pb.go:189
Method
Enum
()
go-proxyd/proto/phproxyd.pb.go:222
Method
Enum
()
go-proxyd/proto/phproxyd.pb.go:255
Method
ErrorAlreadyRunning
(args ...interface{})
proto/phproxyd/phproxyd.gpbrpc.go:209
Method
ErrorFailedFinished
(args ...interface{})
proto/phproxyd/phproxyd.gpbrpc.go:234
Method
ErrorFailedFinished
(args ...interface{})
go-proxyd/proto/phproxyd.gpbrpc.go:276
Method
ErrorGeneric
(args ...interface{})
proto/phproxyd/phproxyd.gpbrpc.go:199
Method
ErrorNoMemory
(args ...interface{})
proto/phproxyd/phproxyd.gpbrpc.go:224
Method
ErrorNoMemory
(args ...interface{})
go-proxyd/proto/phproxyd.gpbrpc.go:266
Method
ErrorNotFound
(args ...interface{})
proto/phproxyd/phproxyd.gpbrpc.go:214
Method
ErrorRunFailed
(args ...interface{})
proto/phproxyd/phproxyd.gpbrpc.go:204
Method
ErrorStartChildFailed
(args ...interface{})
proto/phproxyd/phproxyd.gpbrpc.go:244
Method
ErrorStartChildFailed
(args ...interface{})
go-proxyd/proto/phproxyd.gpbrpc.go:286
Method
ErrorSuccessFinished
(args ...interface{})
proto/phproxyd/phproxyd.gpbrpc.go:229
Method
ErrorSuccessFinished
(args ...interface{})
go-proxyd/proto/phproxyd.gpbrpc.go:271
Method
ErrorTooBusy
(args ...interface{})
proto/phproxyd/phproxyd.gpbrpc.go:249
Method
ErrorWaitForFree
(args ...interface{})
proto/phproxyd/phproxyd.gpbrpc.go:239
Method
ErrorWaitForFree
(args ...interface{})
go-proxyd/proto/phproxyd.gpbrpc.go:281
Method
ErrorWorking
(args ...interface{})
proto/phproxyd/phproxyd.gpbrpc.go:219
Method
ErrorWorking
(args ...interface{})
go-proxyd/proto/phproxyd.gpbrpc.go:261
Function
GenerateJobsCycle
()
jobgen/jobgen.go:592
Method
Get
(key uint64)
go-proxyd/sharded_cache.go:29
Method
GetBaseDir
()
proto/thunder-config.pb.go:211
Method
GetBuffers
()
proto/thunder.pb.go:314
Method
GetCached
()
proto/thunder.pb.go:307
Method
GetClean
()
proto/phproxyd/phproxyd.pb.go:375
Method
GetClean
()
go-proxyd/proto/phproxyd.pb.go:393
Method
GetCommandsCnt
()
proto/phproxyd/phproxyd.pb.go:458
Method
GetCommandsCnt
()
proto/phproxyd/phproxyd.pb.go:539
← previous
next →
201–300 of 724, ranked by callers