Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

24-2: schemeshard: reject operations with too big local tx commit (#6760) #6850

Commits on Jul 20, 2024

  1. schemeshard: reject operations with too big local tx commit (ydb-plat…

    …form#6760)
    
    Add commit redo size check for successfully ignited operations as a precaution measure to avoid infinite loop of schemeshard hitting local tx commit redo size limit, restarting, attempting to propose persisted operation again, hitting commit redo size limit again, restarting and so on.
    
    This could happen with inherently massive operations such as copy-tables used as a starting step of database export/backup.
    
    Coping large number of tables with huge number of partitions can result in so large TTxOperationPropose local transaction that its size would hit the limit imposed by the tablet executor. Tablet violating that limit is considered broken and will be immediately stopped.
    See ydb/core/tablet_flat/flat_executor.cpp, NTabletFlatExecutor::TExecutor::ExecuteTransaction().
    
    KIKIMR-21751
    ijon committed Jul 20, 2024
    Configuration menu
    Copy the full SHA
    9262662 View commit details
    Browse the repository at this point in the history