Chromium Code Reviews| Index: appengine/swarming/server/bot_management.py |
| diff --git a/appengine/swarming/server/bot_management.py b/appengine/swarming/server/bot_management.py |
| index 678af72f99e8a7055578048b4a2dfe6af36f73a8..b83821c3e7274e0b087146fd215f764603ce0333 100644 |
| --- a/appengine/swarming/server/bot_management.py |
| +++ b/appengine/swarming/server/bot_management.py |
| @@ -9,13 +9,21 @@ |
| |id=bot_id| |
| +---------+ |
| | |
| - +------+-------+---------------+---------+----- ... -----+ |
| - | | | | | |
| - v v v v v |
| - +-------+ +-----------+ +--------+ +--------+ +--------+ |
| - |BotInfo| |BotSettings| |BotEvent| |BotEvent| ... |BotEvent| |
| - |id=info| |id=settings| |id=fffff| |if=ffffe| ... |id=00000| |
| - +-------+ +-----------+ +--------+ +--------+ +--------+ |
| + +-----++-------+---------------+---------+----- ... -----+ |
| + | | | | | | |
| + v | v v v v |
| + +-------+ | +-----------+ +--------+ +--------+ +--------+ |
| + |BotInfo| | |BotSettings| |BotEvent| |BotEvent| ... |BotEvent| |
| + |id=info| | |id=settings| |id=fffff| |if=ffffe| ... |id=00000| |
| + +-------+ | +-----------+ +--------+ +--------+ +--------+ |
| + | |
| + +--------------------+ |
| + | | |
| + v v |
| + +-------------------+ +-------------------+ |
| + |BotTaskDimensions | ... |BotTaskDimensions | |
|
Vadim Sh.
2017/04/26 18:26:24
do this entities created/deleted separately or alw
M-A Ruel
2017/04/26 21:07:07
That's an excellent question and Michael had raise
Vadim Sh.
2017/04/26 21:24:55
It will require a transaction only if we add dimen
M-A Ruel
2017/04/26 21:30:30
Actually each dimensions_hash has its own expirati
|
| + |id=<dimension_hash>| ... |id=<dimension_hash>| <task_queues.py> |
| + +-------------------+ +-------------------+ |
| +--------Root--------+ |
| |DimensionAggregation| |