tarantool / vshard

The new generation of sharding based on virtual buckets
Other
100 stars 30 forks source link

replicaset:stream() #292

Closed olegrok closed 1 year ago

olegrok commented 3 years ago

I think after https://github.com/tarantool/tarantool/issues/5860 vshard should provide a way to open streams to replicaset instances.

We need something like replicaset:stream_rw(), replicaset:stream_bre, ... that opens a stream to some master/replica.

NeraverinTarantool commented 1 year ago

@olegrok can you describe specific use case for this feature?

olegrok commented 1 year ago

Probably I expected to have an ability to create a read view on specific instance. Just get a stream when MVCC is enabled and then perform some read queries on that instance. (Initially I planned to use it for TDG map-reduces).

Currently I'm not sure that it's a good idea. It's quite tricky to perform fullscans or huge queries in transactions (due to memory consumption)... So, fair read views are available only in EE. See https://t.me/tarantoolru/177373