mydumper icon indicating copy to clipboard operation
mydumper copied to clipboard

Transform directory restores to stream restore

Open davidducos opened this issue 3 years ago • 1 comments

We might need to consider that we could do the same that we are doing on stream for directory based backups, as the ultimate goal is the same.

Originally posted by @davidducos in https://github.com/mydumper/mydumper/issues/719#issuecomment-1157730202

davidducos avatar Jun 16 '22 14:06 davidducos

The directory restore is ordering the files, on stream, there is a sort but we assume some kind of order. We need to start to consider no order on the stream restore and add the checks, for instance:

  • We can't create a table if the database for that tables hasn't been processed.
  • We already have the check when data needs to be import and table hasn't been created. etc.

davidducos avatar Jul 14 '22 12:07 davidducos

Implementing this will be simpler after merge #682

davidducos avatar Aug 14 '22 21:08 davidducos