tm1py icon indicating copy to clipboard operation
tm1py copied to clipboard

Enable non-blob async writeback

Open rclapp opened this issue 1 year ago • 1 comments

One of the trade offs of using a blob based write back is that you can no longer leverage change sets. In certain applications change sets are required to properly group transactions together. We should expose useBlob parameters in the async write back methods so that change sets could be used. If we do this we may need to change the way change sets are managed. An async writer could

  1. Return a list of change sets, 1 from each worker
  2. Create a change set and pass it into the worker, then all workers write using the same change set ID

Thoughts?

rclapp avatar May 25 '23 19:05 rclapp

I agree. Using changesets in conjunction with the fast async write would be nice. Ideally, we could make use of changesets in TI. If that's not possible we could use the standard REST-based write.

In both cases, we could return a list of changesets or share a changeset-id among the workers. I will tag this issue as an enhancement.

MariusWirtz avatar May 30 '23 12:05 MariusWirtz