SOS: Scalable Object Store  4.0.0
 All Classes Functions Variables Typedefs Enumerations Enumerator Groups Pages
Containers

A SOS Container groups Partitions, Schema, Objects, and Indices together into a single namespace. The root of the namespace is the Container's name. Containers are created with the sos_container_new() function. SOS implements the POSIX security model. When a Container is created, it inherits the owner and group of the process that created the container. The sos_container_new() function takes an o_mode parameter that identifies the standard POSIX umask to specify RO/RW access for owner/group/other.

The sos_container_open() function opens a previously created container. The user/group of the process opening the container must have adequate permission to provide the requested R/W access. The sos_container_open() function returns a sos_t container handle that is used in subsequent SOS API.

Changes to a container are opportunistically commited to stable storage. An application can initiate a commit to storage with the sos_container_commit() function.

The SOS Container API include the following: