replace segment

Hi, all

I have two sets of segments, one is produced by realtime nodes, the other is from batch indexing service. Now I want to replace segments produced by realtime nodes with segments produced by batch indexing service. how? Can anyone help?

Thanks.

Hi Jacky Woo,

The metadata storage has a used flag for each segment.

You will need to manually change this flag in your metadata storage to achieve this.

basically setting used to 0 for batch segments and 1 for realtime segments should work.

I will try it, thanks for your help.