You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently YCQL batch request does not allow DML statements on a table with secondary index inside a batch. We should add the support for such DML statements in a batch.
The text was updated successfully, but these errors were encountered:
Summary:
Support batch request of DMLs on table with secondary index. To allow this, the YCQL executor is reorganized:
- Transaction and the associated YBSession is now maintained by ExecContext instead of QLEnv to allow multiple transactions per execution. The Executor maintains a separate YBSession for non-transactional read/write operations.
- Read/write operations are flushed and transactions are committed in rounds. In each round, buffered operations in all YBSessions are flushed and transactions ready to commit are committed. As each FlushAsyncDone and CommitDone callback is called, error is checked. Only when all callbacks are called in each round will results be processed and the next round of flushes and commits be issued.
- The rescheduling of YCQL calls to satisfy thread-restriction is reorganized.
Test Plan: Jenkins
Reviewers: mihnea
Reviewed By: mihnea
Subscribers: yql
Differential Revision: https://phabricator.dev.yugabyte.com/D5237
Currently YCQL batch request does not allow DML statements on a table with secondary index inside a batch. We should add the support for such DML statements in a batch.
The text was updated successfully, but these errors were encountered: