xcherryio / xcherry

server and main repo of xCherry project
Apache License 2.0
26 stars 1 forks source link

Consider remove the batch delete for some immediate tasks' post processing #65

Closed longquanzheng closed 1 year ago

longquanzheng commented 1 year ago

Currently all the timer tasks are deleted during processing within the transaction, but some of the immeidate tasks are deleted during execution, but some are after, using a commitTimer to batch deleting.

The batch deletion is hard to understand and actually not going to be performing well for NoSQL databases that don't have Global Secondary index. (the tasks table partitioning will be based on processId, not shardId)

longquanzheng commented 1 year ago

duplicated of https://github.com/xdblab/xdb/issues/58