Skip to content
Snippets Groups Projects
  • Denis Smirnov's avatar
    ce184461
    feat: add statistics initialization to the API · ce184461
    Denis Smirnov authored
    Though we can lazily initialize statistics spaces, there is still a
    problem with read-only replicas. If the workload does not write to
    the storage (only reads with SELECTs), then callbre is used and no
    queries will be dispatched to the storage master. As a result, no
    statistics spaces will be initialized on the storage failover group.
    
    To deal with it, we add a new API method to initialize statistics
    on the instance startup.
    ce184461
    History
    feat: add statistics initialization to the API
    Denis Smirnov authored
    Though we can lazily initialize statistics spaces, there is still a
    problem with read-only replicas. If the workload does not write to
    the storage (only reads with SELECTs), then callbre is used and no
    queries will be dispatched to the storage master. As a result, no
    statistics spaces will be initialized on the storage failover group.
    
    To deal with it, we add a new API method to initialize statistics
    on the instance startup.