Can an object's data be split and stored on multiple storage nodes?

Asked by Peter Peng

For example, there are 5 storage nodes (one zone per each node) in my Swift setup. When I upload a file with size 500MB into Swift, is the 500MB data always stored on some single storage node (of course there are maybe some replicas of this 500MB data on other zones/nodes), or will it be split and stored on all nodes (e.g., each storage node stores 100MB, and each 100MB data also has some replicas on other zones/nodes)? Thanks.

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Object Storage (swift) Edit question
Assignee:
No assignee Edit question
Solved by:
Peter Peng
Solved:
Last query:
Last reply:
Revision history for this message
John Dickinson (notmyname) said :
#1

Each object is stored as a single file on disk (plus replicas). So one 500MB object in swift will be stored as 3 500MB files on disk (one for each replica). There is no striping or parity or erasure coding or anything like that.

Revision history for this message
Peter Peng (peter-peng) said :
#2

Got it. Thank you John.