The cob on data server has cob nskey = <gob_fid, cob_index>, where, gob_fid : global file identifier corresponding to which the cob is being created. cob_index : unique index of the cob in the pool.
- See also
- m0_cob_nskey
The cob-fid iterator uniquely iterates over gob_fids, thus skipping entries with same gob_fids but different cob_index.
This iterator is used in SNS repair iterator.
- See also
- m0_sns_repair_iter
◆ m0_cob_ns_iter_fini()
Finalises the namespace iterator.
- Parameters
-
iter | - Namespace iterator that is to be finalised. |
Definition at line 123 of file ns_iter.c.
◆ m0_cob_ns_iter_init()
Initialises the namespace iterator.
- Parameters
-
iter | - Cob fid namespace iterator that is to be initialised. |
gfid | - Initial gob-fid with which iterator is initialised. |
dbenv | - DB environment from which the records should be extracted. |
cdom | - Cob domain. |
Definition at line 40 of file ns_iter.c.
◆ m0_cob_ns_iter_next()
Iterates over namespace to point to unique gob fid in the namespace.
- Parameters
-
iter | - Pointer to the namespace iterator. |
tx | - Database transaction used for DB operations by iterator. |
gfid | - Next unique gob-fid in the iterator. This is output variable. |
Definition at line 100 of file ns_iter.c.
◆ m0_cob_ns_rec_of()